From: Fabio Pedretti Date: Tue, 9 Aug 2011 14:08:59 +0000 (-0600) Subject: swrast: silence unused var warnings X-Git-Tag: 062012170305~4896^2~324 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=afd1d857752b5c30a3082068f8bb9002e0c69699;p=profile%2Fivi%2Fmesa.git swrast: silence unused var warnings Signed-off-by: Brian Paul --- diff --git a/src/mesa/swrast/s_span.c b/src/mesa/swrast/s_span.c index db102ac..9a91be3 100644 --- a/src/mesa/swrast/s_span.c +++ b/src/mesa/swrast/s_span.c @@ -212,10 +212,10 @@ interpolate_active_attribs(struct gl_context *ctx, SWspan *span, GLbitfield attr static INLINE void interpolate_int_colors(struct gl_context *ctx, SWspan *span) { +#if CHAN_BITS != 32 const GLuint n = span->end; GLuint i; -#if CHAN_BITS != 32 ASSERT(!(span->arrayMask & SPAN_RGBA)); #endif