str: fix unused var warning with gcc
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Oct 2012 11:02:37 +0000 (21:32 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Oct 2012 11:02:37 +0000 (21:32 +1030)
commit39150ca863ea2aed45f732346aa23714009a034b
tree0323cffce1adbb6bfbf64bef75adacb54d870f5d
parent509fc838deaf1c53638bcae6c1a826c2f990b827
str: fix unused var warning with gcc

Compiler:
/home/rusty/devel/cvs/ccan/ccan/str/str.h: In function ‘main’:
/home/rusty/devel/cvs/ccan/ccan/str/str.h:69:5: warning: variable ‘i’ set but not used [-Wunused-but-set-variable]

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