Mesa (master): r600g: remove unused vars to silence warnings

Brian Paul brianp at kemper.freedesktop.org
Tue Feb 7 14:49:07 UTC 2012


Module: Mesa
Branch: master
Commit: 7335cf1c326c7815164c242e19ba0c0b2b19f0f6
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7335cf1c326c7815164c242e19ba0c0b2b19f0f6

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Feb  7 07:48:46 2012 -0700

r600g: remove unused vars to silence warnings

---

 src/gallium/drivers/r600/r600_blit.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c
index ff720c9..2ec39e8 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;




More information about the mesa-commit mailing list