From 3953aaa384210378777cc06f5e7d7f40e44a20e8 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Thu, 4 Nov 2010 20:41:44 +1030 Subject: [PATCH] ccanlint: fix wrong initialization in example compilation. I moved the code around and missed this. --- tools/ccanlint/tests/examples_compile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/ccanlint/tests/examples_compile.c b/tools/ccanlint/tests/examples_compile.c index f9a919a1..88530e2b 100644 --- a/tools/ccanlint/tests/examples_compile.c +++ b/tools/ccanlint/tests/examples_compile.c @@ -446,8 +446,8 @@ static void *build_examples(struct manifest *m, bool keep, examples_compile.total_score = 0; list_for_each(&m->examples, i, list) { - char *ret, *ret1 = NULL, *ret2; - struct ccan_file *mangle1 = NULL, *mangle2; + char *ret, *ret1, *ret2 = NULL; + struct ccan_file *mangle1, *mangle2 = NULL; examples_compile.total_score++; /* Simplify our dumb parsing. */ -- 2.39.2