opt: complete coverage, enhance opt_free_table.
authorRusty Russell <rusty@rustcorp.com.au>
Sun, 14 Aug 2011 01:04:44 +0000 (10:34 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Sun, 14 Aug 2011 01:04:44 +0000 (10:34 +0930)
commitac9d55d8c5af9697be8c4dd4f27de61e3cb8bf95
tree91ae565228865f256ea81c72939a1d760cc1ee7b
parentabde990702b6d6c3739edf85578af8529608ade5
opt: complete coverage, enhance opt_free_table.

No point checking malloc failure in usage(), since we don't elsewhere.
We get 100% coverage with -O (due to code elimination) or 64 bit.
ccan/opt/helpers.c
ccan/opt/opt.c
ccan/opt/opt.h
ccan/opt/test/run-helpers.c
ccan/opt/test/run-iter.c
ccan/opt/test/run-usage.c
ccan/opt/test/run.c
ccan/opt/test/utils.c
ccan/opt/test/utils.h
ccan/opt/usage.c