Mesa (master): x86: Silence unused variable warning on Mac OS X.
Vinson Lee
vlee at kemper.freedesktop.org
Sat Sep 18 07:05:23 UTC 2010
Module: Mesa
Branch: master
Commit: 9ea2a3af9c3e150e212f2bcbb23ae05b4779d702
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ea2a3af9c3e150e212f2bcbb23ae05b4779d702
Author: Vinson Lee <vlee at vmware.com>
Date: Fri Sep 17 23:59:23 2010 -0700
x86: Silence unused variable warning on Mac OS X.
Silences the following GCC warning on Mac OS X.
x86/common_x86.c:58: warning: 'detection_debug' defined but not used
---
src/mesa/x86/common_x86.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/mesa/x86/common_x86.c b/src/mesa/x86/common_x86.c
index f763a3a..b70ee50 100644
--- a/src/mesa/x86/common_x86.c
+++ b/src/mesa/x86/common_x86.c
@@ -331,4 +331,6 @@ _mesa_get_x86_features(void)
#endif
#endif /* USE_X86_ASM */
+
+ (void) detection_debug;
}
More information about the mesa-commit
mailing list