summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_span.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-02-23 17:48:00 -0700
committerBrian Paul <[email protected]>2015-02-24 14:44:19 -0700
commita55831e8fabf3e53802a45d8bd74dbb1986f9754 (patch)
tree0e88d3719554223a1d7e8b1f4644d1086cfbe08d /src/mesa/swrast/s_span.c
parent1180e61a1bb52d8fdf99185ca2c3042e7f686594 (diff)
swrast: fix a few release build 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 2340fddf65d..a8dc391116a 100644
--- a/src/mesa/swrast/s_span.c
+++ b/src/mesa/swrast/s_span.c
@@ -1468,6 +1468,7 @@ _swrast_read_rgba_span( struct gl_context *ctx, struct gl_renderbuffer *rb,
rb->_BaseFormat == GL_ALPHA);
assert(srb->Map);
+ (void) srb; /* silence unused var warning */
src = _swrast_pixel_address(rb, x + skip, y);