test: fix unused variable warning
authorDavid Schleef <ds@schleef.org>
Sat, 15 Oct 2011 18:52:18 +0000 (11:52 -0700)
committerDavid Schleef <ds@schleef.org>
Sat, 15 Oct 2011 18:52:18 +0000 (11:52 -0700)
orc-test/orcarray.c

index 6e9c70f..729593b 100644 (file)
@@ -42,7 +42,7 @@ orc_array_new (int n, int m, int element_size, int misalignment,
   void *data;
 #ifndef USE_MMAP
 #ifdef HAVE_POSIX_MEMALIGN
-  int ret;
+  int ret ORC_GNUC_UNUSED;
 #endif
 #endif
   int offset;