From: Brian Paul Date: Thu, 29 Oct 2009 13:54:44 +0000 (-0600) Subject: mesa: move declaration to prevent unused var warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1f1bfe8cb5c74ee8708fb717a19d8389c9fadb80;p=mesa.git mesa: move declaration to prevent unused var warning --- diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c index 7b449d03bea..6237511e9f9 100644 --- a/src/mesa/main/texstore.c +++ b/src/mesa/main/texstore.c @@ -3108,8 +3108,8 @@ _mesa_texstore_null(TEXSTORE_PARAMS) static StoreTexImageFunc _mesa_get_texstore_func(gl_format format) { - GLuint i; #ifdef DEBUG + GLuint i; for (i = 0; i < MESA_FORMAT_COUNT; i++) { ASSERT(texstore_funcs[i].Name == i); }