projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67925c6
)
r600: Remove unused variable.
author
Vinson Lee
<vlee@vmware.com>
Wed, 25 Aug 2010 01:32:51 +0000
(18:32 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Wed, 25 Aug 2010 01:32:51 +0000
(18:32 -0700)
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
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r600/r600_emit.c
b/src/mesa/drivers/dri/r600/r600_emit.c
index 4814cb1453c58e74a291ee8e90ed7d67cd5c24c9..a840106c144c32c7f0f85b473b697eb0738ca71c 100644
(file)
--- 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 */
{