glx: remove unused local var in determineTextureFormat()
authorBrian Paul <brianp@vmware.com>
Fri, 3 Apr 2009 15:06:24 +0000 (09:06 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 3 Apr 2009 15:07:04 +0000 (09:07 -0600)
src/glx/x11/glx_pbuffer.c

index 6bcf965056a7aabfc5757ec82c61fe1237cd15d6..a06331fd7fabf3a8ce70ec9d4a32bfa236a9a5ce 100644 (file)
@@ -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++) {