From: Vinson Lee Date: Sun, 26 Sep 2010 10:18:12 +0000 (-0700) Subject: r600g: Remove unused variables. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=15f16328be41a5804151c30866a2bc329fc4369a;p=mesa.git 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' --- 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) {