Avoid a gcc warning.
authorBruno Haible <bruno@clisp.org>
Sun, 4 Mar 2007 20:20:07 +0000 (20:20 +0000)
committerBruno Haible <bruno@clisp.org>
Sun, 4 Mar 2007 20:20:07 +0000 (20:20 +0000)
tests/test-alloca-opt.c

index 33f85db..65bc19f 100644 (file)
@@ -29,6 +29,7 @@ static void
 do_allocation (int n)
 {
   void *ptr = alloca (n);
+  (void) ptr;
 }
 
 void (*func) (int) = do_allocation;