From: Vinson Lee Date: Wed, 25 Aug 2010 02:04:19 +0000 (-0700) Subject: r600: Remove unused variable. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8cf7eaf3ffd22d60d4f163ac169faa820fbf0c27;p=mesa.git r600: Remove unused variable. Silences the following GCC warning. evergreen_state.c: In function 'evergreenSetBlendState': evergreen_state.c:341: warning: unused variable 'id' --- diff --git a/src/mesa/drivers/dri/r600/evergreen_state.c b/src/mesa/drivers/dri/r600/evergreen_state.c index 49ee525492a..931478caa5a 100644 --- a/src/mesa/drivers/dri/r600/evergreen_state.c +++ b/src/mesa/drivers/dri/r600/evergreen_state.c @@ -338,7 +338,6 @@ static void evergreenSetBlendState(GLcontext * ctx) //diff : CB_COLOR_CONTROL, C { context_t *context = EVERGREEN_CONTEXT(ctx); EVERGREEN_CHIP_CONTEXT *evergreen = GET_EVERGREEN_CHIP(context); - int id = 0; uint32_t blend_reg = 0, eqn, eqnA; EVERGREEN_STATECHANGE(context, cb);