summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_span.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-01-20 09:20:41 -0700
committerBrian Paul <brianp@vmware.com>2009-01-20 09:20:41 -0700
commit9d216be8cfe57f88cd2d890c2334df8ff5c30436 (patch)
treed3e2b9bb69d0a9d4a45dae82df394547cf2e6e38 /src/mesa/swrast/s_span.c
parenteb26cc6cf5ba0b8ff4c7d85da8f421839691186a (diff)
mesa: silence uninitialized var warnings
Diffstat (limited to 'src/mesa/swrast/s_span.c')
-rw-r--r--src/mesa/swrast/s_span.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/swrast/s_span.c b/src/mesa/swrast/s_span.c
index 214c2a1b6f..7f9cc64bb2 100644
--- a/src/mesa/swrast/s_span.c
+++ b/src/mesa/swrast/s_span.c
@@ -1032,6 +1032,7 @@ add_specular(GLcontext *ctx, SWspan *span)
ASSERT(!ctx->FragmentProgram._Current);
ASSERT(span->arrayMask & SPAN_RGBA);
ASSERT(swrast->_ActiveAttribMask & FRAG_BIT_COL1);
+ (void) swrast; /* silence warning */
if (span->array->ChanType == GL_FLOAT) {
if ((span->arrayAttribs & FRAG_BIT_COL0) == 0) {