Skip to content
Snippets Groups Projects
Commit 35e4b4bf authored by Andrea Shepard's avatar Andrea Shepard
Browse files

Move if (result != NULL) outside of else clause in examples/base64.c

parent 8af2bf80
No related branches found
No related tags found
No related merge requests found
......@@ -63,10 +63,11 @@ void assert_parse(int expected, char *data) {
#ifdef DEBUG
else {
fprintf(stderr, "Test succeeded: %s\n", data);
if(result != NULL) {
fprintf(stderr, "parsed=%" PRId64 " bytes\n", result->bit_length/8);
h_pprint(stdout, result->ast, 0, 0);
}
}
if (result != NULL) {
fprintf(stderr, "parsed=%" PRId64 " bytes\n", result->bit_length / 8);
h_pprint(stdout, result->ast, 0, 0);
}
#endif
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment