gallium: silence unused var warning
authorBrian <brian.paul@tungstengraphics.com>
Thu, 27 Mar 2008 21:27:31 +0000 (15:27 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Thu, 27 Mar 2008 21:27:31 +0000 (15:27 -0600)
src/gallium/include/pipe/p_debug.h

index 097fc7c0b1846b41d818fa66bac7150e80bc3842..9e52ad9a374d28f7cb6af156e47332bf0752db3e 100644 (file)
@@ -90,6 +90,8 @@ debug_printf(const char *format, ...)
    va_start(ap, format);
    _debug_vprintf(format, ap);
    va_end(ap);
+#else
+   (void) format; /* silence warning */
 #endif
 }