Commit 0cfe0db3 authored by Rusty Russell's avatar Rusty Russell

alignof: fix unused var warning with gcc

/home/rusty/devel/cvs/ccan/ccan/alignof/test/run.c:32:7: warning: variable ‘c2’ set but not used [-Wunused-but-set-variable]
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 39150ca8
......@@ -37,8 +37,7 @@ int main(int argc, char *argv[])
double d;
/* Make sure we use all the variables. */
c = 0;
c2 = c3 = c4 = c;
c = c2 = c3 = c4 = 0;
plan_tests(15);
ok1((unsigned long)&c % ALIGNOF(char) == 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment