summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-03-25 21:44:54 +0000
committerJosé Fonseca <jfonseca@vmware.com>2009-03-25 21:47:17 +0000
commit573346da2a1de9a32b2673a5d4634aa6338da374 (patch)
tree182d661dbeceddcb6672a0028666f75ce72a7cee /src
parente21d31e8ab047966a3d6c6ee489e5cfe93819781 (diff)
translate: Avoid unused variable warning.
Diffstat (limited to 'src')
-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 7678903f75..a9b7253bf4 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 );