Commit 30d5682c authored by Rusty Russell's avatar Rusty Russell

ccanlint: fix uninitialized variable

parent 48d28d7f
......@@ -121,6 +121,7 @@ static void do_run_tests_vg(struct manifest *m,
output = grab_file(i, "valgrind.log", NULL);
if (!output || output[0] == '\0') {
err = NULL;
i->leak_info = NULL;
} else {
i->leak_info = get_leaks(output, &err);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment