tlist: remove unused var warning in example.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Oct 2012 11:31:59 +0000 (22:01 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Oct 2012 11:31:59 +0000 (22:01 +1030)
commit919b97d6e573eb794d7819f1af8da29023d6b193
treeaed6a0522faf43dc3908db7229257d172c43a305
parent70843363d93a25adb99d60d2fe642252ef766b3b
tlist: remove unused var warning in example.

Compiler:
/home/rusty/devel/cvs/ccan/ccan/tlist/tlist.h: In function ‘main’:
/home/rusty/devel/cvs/ccan/ccan/tlist/tlist.h:186:15: warning: variable ‘first’ set but not used [-Wunused-but-set-variable]

Compiler:
/home/rusty/devel/cvs/ccan/ccan/tlist/tlist.h: In function ‘main’:
/home/rusty/devel/cvs/ccan/ccan/tlist/tlist.h:205:15: warning: variable ‘last’ set but not used [-Wunused-but-set-variable]

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/tlist/tlist.h