Mark scan unused in non-debug builds.
authorTaylor R Campbell <campbell@mumble.net>
Sun, 6 Apr 2014 22:09:32 +0000 (22:09 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Sun, 6 Apr 2014 22:09:32 +0000 (22:09 +0000)
src/microcode/gcloop.c

index 9d9ddd163f3874f864bf71941f9764060c82776b..7439075c0e643986bdcf108e6a5f722f806244a6 100644 (file)
@@ -962,6 +962,8 @@ scan_newspace_addr (SCHEME_OBJECT * addr)
 #ifdef ENABLE_GC_DEBUGGING_TOOLS
   if (scan != (addr + 1))
     std_gc_death ("scan_newspace_addr overflowed");
+#else
+  (void) scan;                 /* ignore */
 #endif
 }