projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51bfd4e
)
r600g: Remove unused variables.
author
Vinson Lee
<vlee@vmware.com>
Sun, 26 Sep 2010 10:18:12 +0000
(
03:18
-0700)
committer
Vinson Lee
<vlee@vmware.com>
Sun, 26 Sep 2010 10:18:12 +0000
(
03:18
-0700)
Fixes these GCC warnings.
radeon.c: In function 'radeon_new':
radeon.c:59: warning: unused variable 'k'
radeon.c:59: warning: unused variable 'j'
radeon.c:59: warning: unused variable 'id'
radeon.c:59: warning: unused variable 'i'
src/gallium/winsys/r600/drm/radeon.c
patch
|
blob
|
history
diff --git
a/src/gallium/winsys/r600/drm/radeon.c
b/src/gallium/winsys/r600/drm/radeon.c
index c3d345fef929291bad19e84a90df8b0330c09afb..f7e3e354de118d5844bf020c61923c852043df6c 100644
(file)
--- a/
src/gallium/winsys/r600/drm/radeon.c
+++ b/
src/gallium/winsys/r600/drm/radeon.c
@@
-56,7
+56,7
@@
static int radeon_get_device(struct radeon *radeon)
struct radeon *radeon_new(int fd, unsigned device)
{
struct radeon *radeon;
- int r
, i, id, j, k
;
+ int r;
radeon = calloc(1, sizeof(*radeon));
if (radeon == NULL) {