Mesa (master): mesa: move declaration to prevent unused var warning
Brian Paul
brianp at kemper.freedesktop.org
Thu Oct 29 13:54:50 UTC 2009
Module: Mesa
Branch: master
Commit: 1f1bfe8cb5c74ee8708fb717a19d8389c9fadb80
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1f1bfe8cb5c74ee8708fb717a19d8389c9fadb80
Author: Brian Paul <brianp at vmware.com>
Date: Thu Oct 29 07:54:44 2009 -0600
mesa: move declaration to prevent unused var warning
---
src/mesa/main/texstore.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c
index 7b449d0..6237511 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);
}
More information about the mesa-commit
mailing list