projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d706590
)
r600g: Disable unused variables.
author
Vinson Lee
<vlee@vmware.com>
Sat, 25 Sep 2010 19:28:47 +0000
(12:28 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Sat, 25 Sep 2010 19:28:47 +0000
(12:28 -0700)
The variables are used only in currently disabled code.
Fixes this GCC warning.
r600_context.c: In function 'r600_flush':
r600_context.c:76: warning: unused variable 'dname'
r600_context.c:75: warning: unused variable 'dc'
src/gallium/drivers/r600/r600_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_context.c
b/src/gallium/drivers/r600/r600_context.c
index e8eb8142095e32c479da81b04b7a19ddd41f851f..ec1f44639a31cfe68cd06322de0642df915de7d1 100644
(file)
--- a/
src/gallium/drivers/r600/r600_context.c
+++ b/
src/gallium/drivers/r600/r600_context.c
@@
-71,7
+71,7
@@
void r600_flush(struct pipe_context *ctx, unsigned flags,
{
struct r600_context *rctx = r600_context(ctx);
struct r600_query *rquery = NULL;
-#if
1
+#if
0
static int dc = 0;
char dname[256];
#endif