summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-09-26 03:18:12 -0700
committerVinson Lee <[email protected]>2010-09-26 03:18:12 -0700
commit15f16328be41a5804151c30866a2bc329fc4369a (patch)
tree35d1870c560eff0dc8658f4e152bdbdd04ecd1ca /src/gallium/winsys
parent51bfd4e34a259243ce60915944d2c37204934620 (diff)
r600g: Remove unused variables.
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'
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/r600/drm/radeon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/r600/drm/radeon.c b/src/gallium/winsys/r600/drm/radeon.c
index c3d345fef92..f7e3e354de1 100644
--- 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) {