summaryrefslogtreecommitdiffstats
path: root/src/glx/x11
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-04-03 09:06:24 -0600
committerBrian Paul <[email protected]>2009-04-03 09:07:04 -0600
commit29ae40f5dc8b4b880de1630ce71e3451a77c57f4 (patch)
tree539012ee757240e913ef1340d8d4f4227cc15b71 /src/glx/x11
parent5c5d78e1918fedb6fd43f5fafdba2a142a09d56f (diff)
glx: remove unused local var in determineTextureFormat()
Diffstat (limited to 'src/glx/x11')
-rw-r--r--src/glx/x11/glx_pbuffer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/glx/x11/glx_pbuffer.c b/src/glx/x11/glx_pbuffer.c
index 6bcf965056a..a06331fd7fa 100644
--- a/src/glx/x11/glx_pbuffer.c
+++ b/src/glx/x11/glx_pbuffer.c
@@ -194,7 +194,6 @@ determineTextureTarget(const int *attribs, int numAttribs)
static GLenum
determineTextureFormat(const int *attribs, int numAttribs)
{
- GLenum target = 0;
int i;
for (i = 0; i < numAttribs; i++) {