]> git.ozlabs.org Git - ccan/commit
ccanlint: fix listing of dependencies
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 25 Mar 2011 03:21:20 +0000 (13:51 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 25 Mar 2011 03:21:20 +0000 (13:51 +1030)
commit94b797a5d4fb35f85a314e11c9ded9f18b941d00
tree6caa566d4acdc77e19e771e020e5ee75f9dbbe8b
parent6aa15db4f4b07bc25c83769255586de51ec7f614
ccanlint: fix listing of dependencies

gcc gave a warning:
tools/ccanlint/ccanlint.c:230:19: error: ā€˜cā€™ may be used uninitialized in this function

Which indicated that test dependency printing was broken: we need to
loop through the tests!  Also, we haven't parsed options yet, so
verbose is never true: move it to later and make it depend on -vvv.
tools/ccanlint/ccanlint.c