From 573346da2a1de9a32b2673a5d4634aa6338da374 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Wed, 25 Mar 2009 21:44:54 +0000 Subject: translate: Avoid unused variable warning. --- src/gallium/auxiliary/translate/translate.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/auxiliary/translate/translate.c') 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 ); -- cgit v1.2.3