diff options
author | Vinson Lee <[email protected]> | 2010-09-24 22:59:46 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-09-24 22:59:46 -0700 |
commit | 207481fa53e545e12cb11a3a8b0e64ff0416beeb (patch) | |
tree | 75503ca7d848bf4d4a94d624e668c752169bf528 /src/gallium/drivers/r600/r600_buffer.c | |
parent | 365da88a7127e43eb9327552dda4921d1e8f885e (diff) |
r600g: Remove unused variable.
Fixes this GCC warning.
r600_buffer.c: In function 'r600_buffer_transfer_map':
r600_buffer.c:141: warning: unused variable 'rctx'
Diffstat (limited to 'src/gallium/drivers/r600/r600_buffer.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_buffer.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_buffer.c b/src/gallium/drivers/r600/r600_buffer.c index ea370782fdb..1621b2ab63f 100644 --- a/src/gallium/drivers/r600/r600_buffer.c +++ b/src/gallium/drivers/r600/r600_buffer.c @@ -138,7 +138,6 @@ static void r600_buffer_destroy(struct pipe_screen *screen, static void *r600_buffer_transfer_map(struct pipe_context *pipe, struct pipe_transfer *transfer) { - struct r600_context *rctx = r600_context(pipe); struct r600_resource_buffer *rbuffer = r600_buffer(transfer->resource); struct r600_screen *rscreen = r600_screen(pipe->screen); int write = 0; |