projects
/
ccan
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a4a813
)
ccanlint: fix wrong initialization in example compilation.
author
Rusty Russell
<rusty@rustcorp.com.au>
Thu, 4 Nov 2010 10:11:44 +0000
(20:41 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Thu, 4 Nov 2010 10:11:44 +0000
(20:41 +1030)
I moved the code around and missed this.
tools/ccanlint/tests/examples_compile.c
patch
|
blob
|
history
diff --git
a/tools/ccanlint/tests/examples_compile.c
b/tools/ccanlint/tests/examples_compile.c
index f9a919a1bfcf7d83748d026e79ec8eb2dd278601..88530e2b270bb00821454103bbc0dec8c7839985 100644
(file)
--- 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. */