Mesa (master): softpipe: fix unused variable warning.
Dave Airlie
airlied at kemper.freedesktop.org
Fri Nov 9 20:45:33 UTC 2012
Module: Mesa
Branch: master
Commit: aafdc5bda424c2b04f23a54480b402dd64333555
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aafdc5bda424c2b04f23a54480b402dd64333555
Author: Dave Airlie <airlied at redhat.com>
Date: Sat Nov 10 06:36:10 2012 +1000
softpipe: fix unused variable warning.
Signed-off-by: Dave Airlie <airlied at redhat.com>
---
src/gallium/drivers/softpipe/sp_tex_sample.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/gallium/drivers/softpipe/sp_tex_sample.c b/src/gallium/drivers/softpipe/sp_tex_sample.c
index 5bbf11c..31eab39 100644
--- a/src/gallium/drivers/softpipe/sp_tex_sample.c
+++ b/src/gallium/drivers/softpipe/sp_tex_sample.c
@@ -1445,7 +1445,7 @@ img_filter_cube_array_linear(struct tgsi_sampler *tgsi_sampler,
int width, height;
int x0, y0, x1, y1, layer;
float xw, yw; /* weights */
- union tex_tile_address addr, addrj;
+ union tex_tile_address addr;
const float *tx0, *tx1, *tx2, *tx3;
int c;
More information about the mesa-commit
mailing list