From: Brian Paul Date: Wed, 3 Sep 2008 19:32:09 +0000 (-0600) Subject: gallium: silence warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a563a27c07eee9f0278c8473e27853fa2d1ad119;p=mesa.git gallium: silence warnings --- diff --git a/src/gallium/auxiliary/translate/translate_generic.c b/src/gallium/auxiliary/translate/translate_generic.c index 4d336f47ea3..8d39b64c6c1 100644 --- a/src/gallium/auxiliary/translate/translate_generic.c +++ b/src/gallium/auxiliary/translate/translate_generic.c @@ -415,6 +415,12 @@ static fetch_func get_fetch_func( enum pipe_format format ) static emit_func get_emit_func( enum pipe_format format ) { + /* silence warnings */ + (void) emit_R32G32B32A32_FIXED; + (void) emit_R32G32B32_FIXED; + (void) emit_R32G32_FIXED; + (void) emit_R32_FIXED; + switch (format) { case PIPE_FORMAT_R64_FLOAT: return &emit_R64_FLOAT;