summaryrefslogtreecommitdiff
path: root/src/gallium/include/pipe
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-03-27 15:27:31 -0600
committerBrian <brian.paul@tungstengraphics.com>2008-03-27 15:27:31 -0600
commitd355eee5cacac30e2b4c8ac2f10964e2861a539e (patch)
treeaff16c33b3fdb4942a8f753d6d59203fd7fdc649 /src/gallium/include/pipe
parent132df5ebce8529f7b0999cdd574d70ec0f12a4fd (diff)
gallium: silence unused var warning
Diffstat (limited to 'src/gallium/include/pipe')
-rw-r--r--src/gallium/include/pipe/p_debug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_debug.h b/src/gallium/include/pipe/p_debug.h
index 097fc7c0b1..9e52ad9a37 100644
--- a/src/gallium/include/pipe/p_debug.h
+++ b/src/gallium/include/pipe/p_debug.h
@@ -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
}