From: Brian Paul Date: Fri, 29 May 2015 21:59:50 +0000 (-0600) Subject: st/mesa: silence unused var warnings for non-debug build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=875918587156e139a82ac9ece9c1290b8019d007;p=mesa.git st/mesa: silence unused var warnings for non-debug build Reviewed-by: Jose Fonseca --- diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index 719d08145ea..db190c943a4 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -4209,6 +4209,7 @@ get_pixel_transfer_visitor(struct st_fragment_program *fp, st_dst_reg temp_dst = st_dst_reg(temp); assert(st->pixel_xfer.pixelmap_texture); + (void) st; /* With a little effort, we can do four pixel map look-ups with * two TEX instructions: