From: Marek Olšák Date: Mon, 8 Oct 2012 23:11:56 +0000 (+0200) Subject: mesa: remove unused variables to fix compile warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cb72ec5fc55651af186e45942a1cd3e45eb5c359;p=mesa.git mesa: remove unused variables to fix compile warnings --- diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 2250815783f..b6dd3954dec 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -1949,9 +1949,6 @@ compressed_texture_error_check(struct gl_context *ctx, GLint dimensions, { const GLint maxLevels = _mesa_max_texture_levels(ctx, target); GLint expectedSize; - GLenum choose_format; - GLenum choose_type; - GLenum proxy_format; GLenum error = GL_NO_ERROR; char *reason = ""; /* no error */ @@ -2015,10 +2012,6 @@ compressed_texture_error_check(struct gl_context *ctx, GLint dimensions, #endif default: - choose_format = GL_NONE; - choose_type = GL_NONE; - proxy_format = internalFormat; - /* check level */ if (level < 0 || level >= maxLevels) { reason = "level";