From: Brian Date: Thu, 27 Mar 2008 21:27:31 +0000 (-0600) Subject: gallium: silence unused var warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d355eee5cacac30e2b4c8ac2f10964e2861a539e;p=mesa.git gallium: silence unused var warning --- diff --git a/src/gallium/include/pipe/p_debug.h b/src/gallium/include/pipe/p_debug.h index 097fc7c0b18..9e52ad9a374 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 }