Mesa (master): intel: Fix unused variable warning.

Eric Anholt anholt at kemper.freedesktop.org
Tue Aug 2 13:59:48 PDT 2011


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

Author: Eric Anholt <eric at anholt.net>
Date:   Mon Aug  1 16:06:59 2011 -0700

intel: Fix unused variable warning.

---

 src/mesa/drivers/dri/intel/intel_fbo.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/intel/intel_fbo.c b/src/mesa/drivers/dri/intel/intel_fbo.c
index e48d6ef..65ad621 100644
--- a/src/mesa/drivers/dri/intel/intel_fbo.c
+++ b/src/mesa/drivers/dri/intel/intel_fbo.c
@@ -596,7 +596,6 @@ intel_renderbuffer_set_draw_offset(struct intel_renderbuffer *irb,
 				   struct intel_texture_image *intel_image,
 				   int zoffset)
 {
-   struct intel_mipmap_tree *mt = intel_image->mt;
    unsigned int dst_x, dst_y;
 
    /* compute offset of the particular 2D image within the texture region */



More information about the mesa-commit mailing list