projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
207481f
)
r600g: Disable unused variables.
author
Vinson Lee
<vlee@vmware.com>
Sat, 25 Sep 2010 06:08:08 +0000
(23:08 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Sat, 25 Sep 2010 06:08:08 +0000
(23:08 -0700)
The variables are only used in currently disabled code.
Fixes this GCC warning.
r600_state2.c: In function 'r600_flush2':
r600_state2.c:613: warning: unused variable 'dname'
r600_state2.c:612: warning: unused variable 'dc'
src/gallium/drivers/r600/r600_state2.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_state2.c
b/src/gallium/drivers/r600/r600_state2.c
index
482ec0d
..
40038f0
100644
(file)
--- a/
src/gallium/drivers/r600/r600_state2.c
+++ b/
src/gallium/drivers/r600/r600_state2.c
@@
-608,7
+608,7
@@
static void r600_flush2(struct pipe_context *ctx, unsigned flags,
struct pipe_fence_handle **fence)
{
struct r600_pipe_context *rctx = (struct r600_pipe_context *)ctx;
-#if
1
+#if
0
static int dc = 0;
char dname[256];
#endif