Commit 3953aaa3 authored by Rusty Russell's avatar Rusty Russell

ccanlint: fix wrong initialization in example compilation.

I moved the code around and missed this.
parent 6a4a813d
...@@ -446,8 +446,8 @@ static void *build_examples(struct manifest *m, bool keep, ...@@ -446,8 +446,8 @@ static void *build_examples(struct manifest *m, bool keep,
examples_compile.total_score = 0; examples_compile.total_score = 0;
list_for_each(&m->examples, i, list) { list_for_each(&m->examples, i, list) {
char *ret, *ret1 = NULL, *ret2; char *ret, *ret1, *ret2 = NULL;
struct ccan_file *mangle1 = NULL, *mangle2; struct ccan_file *mangle1, *mangle2 = NULL;
examples_compile.total_score++; examples_compile.total_score++;
/* Simplify our dumb parsing. */ /* Simplify our dumb parsing. */
......
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