summaryrefslogtreecommitdiffstats
path: root/src/glx
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-04-03 09:06:24 -0600
committerBrian Paul <brianp@vmware.com>2009-04-03 09:07:04 -0600
commit29ae40f5dc8b4b880de1630ce71e3451a77c57f4 (patch)
tree539012ee757240e913ef1340d8d4f4227cc15b71 /src/glx
parent5c5d78e1918fedb6fd43f5fafdba2a142a09d56f (diff)
downloadexternal_mesa3d-29ae40f5dc8b4b880de1630ce71e3451a77c57f4.zip
external_mesa3d-29ae40f5dc8b4b880de1630ce71e3451a77c57f4.tar.gz
external_mesa3d-29ae40f5dc8b4b880de1630ce71e3451a77c57f4.tar.bz2
glx: remove unused local var in determineTextureFormat()
Diffstat (limited to 'src/glx')
-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 6bcf965..a06331f 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++) {