From 7e8315701945ec807b2b5a9d01250b5ab74ae183 Mon Sep 17 00:00:00 2001 From: Brian Date: Sat, 8 Nov 2008 20:43:38 -0700 Subject: [PATCH] gallium: _debug_vprintf() should be silent if DEBUG is not defined --- src/gallium/auxiliary/util/p_debug.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/auxiliary/util/p_debug.c b/src/gallium/auxiliary/util/p_debug.c index b6cff281e6d..6ff3e6e0a62 100644 --- a/src/gallium/auxiliary/util/p_debug.c +++ b/src/gallium/auxiliary/util/p_debug.c @@ -101,8 +101,10 @@ void _debug_vprintf(const char *format, va_list ap) #elif defined(PIPE_SUBSYSTEM_WINDOWS_CE) || defined(PIPE_SUBSYSTEM_WINDOWS_MINIPORT) /* TODO */ #else /* !PIPE_SUBSYSTEM_WINDOWS */ +#ifdef DEBUG vfprintf(stderr, format, ap); #endif +#endif } -- 2.30.2