summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/glx/dri_common.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/glx/dri_common.c b/src/glx/dri_common.c
index 63c8de38c7c..eedcd46a15a 100644
--- a/src/glx/dri_common.c
+++ b/src/glx/dri_common.c
@@ -253,8 +253,7 @@ __ATTRIB(__DRI_ATTRIB_BIND_TO_TEXTURE_RGB, bindToTextureRgb),
static int
scalarEqual(struct glx_config *mode, unsigned int attrib, unsigned int value)
{
- unsigned int glxValue;
- int i;
+ unsigned glxValue, i;
for (i = 0; i < ARRAY_SIZE(attribMap); i++)
if (attribMap[i].attrib == attrib) {