meta: remove unused variable
authorBrian Paul <brianp@vmware.com>
Thu, 16 Aug 2012 14:53:55 +0000 (08:53 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 16 Aug 2012 14:53:55 +0000 (08:53 -0600)
src/mesa/drivers/common/meta.c

index ca01a3301faa2b74cd48459b75a968b7f68befef..db49d90ea6d6758cf8aaf10da88876ab94ee8c61 100644 (file)
@@ -3162,7 +3162,7 @@ _mesa_meta_GenerateMipmap(struct gl_context *ctx, GLenum target,
 static GLenum
 get_temp_image_type(struct gl_context *ctx, gl_format format)
 {
-   GLenum baseFormat, type;
+   GLenum baseFormat;
 
    baseFormat = _mesa_get_format_base_format(format);