From: Brian Paul Date: Tue, 7 Feb 2012 14:48:46 +0000 (-0700) Subject: r600g: remove unused vars to silence warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7335cf1c326c7815164c242e19ba0c0b2b19f0f6;p=mesa.git r600g: remove unused vars to silence warnings --- diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c index ff720c9a028..2ec39e8c89a 100644 --- a/src/gallium/drivers/r600/r600_blit.c +++ b/src/gallium/drivers/r600/r600_blit.c @@ -274,7 +274,6 @@ static void r600_compressed_to_blittable(struct pipe_resource *tex, struct texture_orig_info *orig) { struct r600_resource_texture *rtex = (struct r600_resource_texture*)tex; - struct r600_screen *rscreen = (struct r600_screen *)tex->screen; unsigned pixsize = util_format_get_blocksize(rtex->real_format); int new_format; int new_height, new_width; @@ -309,7 +308,6 @@ static void r600_reset_blittable_to_compressed(struct pipe_resource *tex, struct texture_orig_info *orig) { struct r600_resource_texture *rtex = (struct r600_resource_texture*)tex; - struct r600_screen *rscreen = (struct r600_screen *)tex->screen; tex->format = orig->format; tex->width0 = orig->width0;