summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2012-08-16 08:53:55 -0600
committerBrian Paul <brianp@vmware.com>2012-08-16 08:53:55 -0600
commit658044cde1dbdd6d58ad61ef44850da7afa5c413 (patch)
tree8755741790658f43aeb3861b780121a6bd948dcc
parent1b11395a36a44a902cfb3e1783758544662df73f (diff)
downloadmesa-658044cde1dbdd6d58ad61ef44850da7afa5c413.tar.gz
mesa-658044cde1dbdd6d58ad61ef44850da7afa5c413.tar.xz
mesa-658044cde1dbdd6d58ad61ef44850da7afa5c413.zip
meta: remove unused variable
-rw-r--r--src/mesa/drivers/common/meta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c
index ca01a3301f..db49d90ea6 100644
--- a/src/mesa/drivers/common/meta.c
+++ b/src/mesa/drivers/common/meta.c
@@ -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);