radeon: Silence GCC unused-but-set-variable warnings.
authorVinson Lee <vlee@freedesktop.org>
Wed, 22 Jul 2015 04:50:29 +0000 (21:50 -0700)
committerVinson Lee <vlee@freedesktop.org>
Fri, 24 Jul 2015 02:47:21 +0000 (19:47 -0700)
commit22c9339abf00c2ecf40e0d8fd740faafba3ec37b
treed506905435065dd6c1f2736572b7e86cd442fefa
parent00fb21e744b045cc9f945021305b85595c35dd69
radeon: Silence GCC unused-but-set-variable warnings.

radeon_fbo.c: In function 'radeon_map_renderbuffer_s8z24':
radeon_fbo.c:162:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
     int ret;
         ^
radeon_fbo.c: In function 'radeon_map_renderbuffer_z16':
radeon_fbo.c:200:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
     int ret;
         ^
radeon_fbo.c: In function 'radeon_map_renderbuffer':
radeon_fbo.c:242:8: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
    int ret;
        ^
radeon_fbo.c: In function 'radeon_unmap_renderbuffer':
radeon_fbo.c:419:14: warning: variable 'ok' set but not used [-Wunused-but-set-variable]
    GLboolean ok;
              ^

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/drivers/dri/radeon/radeon_fbo.c