Mesa (master): r600: Remove unused variable.

Vinson Lee vlee at kemper.freedesktop.org
Wed Aug 25 01:34:14 UTC 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Tue Aug 24 18:32:51 2010 -0700

r600: Remove unused variable.

Fixes the following GCC warning.
r600_emit.c In function 'r600AllocShaderConsts':
r600_emit.c:59: warning: unused variable 'out'

---

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

diff --git a/src/mesa/drivers/dri/r600/r600_emit.c b/src/mesa/drivers/dri/r600/r600_emit.c
index 4814cb1..a840106 100644
--- a/src/mesa/drivers/dri/r600/r600_emit.c
+++ b/src/mesa/drivers/dri/r600/r600_emit.c
@@ -56,7 +56,6 @@ GLboolean r600AllocShaderConsts(GLcontext * ctx,
 {
 	radeonContextPtr radeonctx = RADEON_CONTEXT(ctx);
 	struct radeon_bo * pbo;
-	uint32_t *out;
 
     if(sizeinBYTE < 64) /* SQ_ALU_CONST_BUFFER_SIZE need 64 bytes at least to be non 0 */
     {




More information about the mesa-commit mailing list