From: José Fonseca Date: Wed, 25 Mar 2009 21:44:54 +0000 (+0000) Subject: translate: Avoid unused variable warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=573346da2a1de9a32b2673a5d4634aa6338da374;p=mesa.git translate: Avoid unused variable warning. --- 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 );