aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-03-25 21:44:54 +0000
committerJosé Fonseca <[email protected]>2009-03-25 21:47:17 +0000
commit573346da2a1de9a32b2673a5d4634aa6338da374 (patch)
tree182d661dbeceddcb6672a0028666f75ce72a7cee
parente21d31e8ab047966a3d6c6ee489e5cfe93819781 (diff)
translate: Avoid unused variable warning.
-rw-r--r--src/gallium/auxiliary/translate/translate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/translate/translate.c b/src/gallium/auxiliary/translate/translate.c
index 7678903f75c..a9b7253bf44 100644
--- a/src/gallium/auxiliary/translate/translate.c
+++ b/src/gallium/auxiliary/translate/translate.c
@@ -42,6 +42,8 @@ struct translate *translate_create( const struct translate_key *key )
translate = translate_sse2_create( key );
if (translate)
return translate;
+#else
+ (void)translate;
#endif
return translate_generic_create( key );