From: Brian Paul Date: Fri, 7 Oct 2011 14:22:35 +0000 (-0600) Subject: swrast: silence unused var warnings in non-debug builds X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=26b8dfc8cadf0f1a8604fc77b226cc7de005f9ca;p=mesa.git swrast: silence unused var warnings in non-debug builds --- diff --git a/src/mesa/swrast/s_texfilter.c b/src/mesa/swrast/s_texfilter.c index ca9133b212a..121e0fce2cc 100644 --- a/src/mesa/swrast/s_texfilter.c +++ b/src/mesa/swrast/s_texfilter.c @@ -1369,6 +1369,7 @@ opt_sample_rgb_2d(struct gl_context *ctx, ASSERT(img->Border==0); ASSERT(img->TexFormat == MESA_FORMAT_RGB888); ASSERT(swImg->_IsPowerOfTwo); + (void) swImg; for (k=0; kBorder==0); ASSERT(img->TexFormat == MESA_FORMAT_RGBA8888); ASSERT(swImg->_IsPowerOfTwo); + (void) swImg; for (i = 0; i < n; i++) { const GLint col = IFLOOR(texcoords[i][0] * width) & colMask;