st/mesa: Silence GCC unused-variable warning.
authorVinson Lee <vlee@freedesktop.org>
Tue, 21 Jul 2015 04:52:40 +0000 (21:52 -0700)
committerVinson Lee <vlee@freedesktop.org>
Tue, 21 Jul 2015 19:25:41 +0000 (12:25 -0700)
commit912921059d137085faef676504bea265328bdde4
tree542b05e04ac0c05243ddcdf880a9a6d2dd735aec
parent5b4a7ec8f1d2eee12895541bb5c7d15382370884
st/mesa: Silence GCC unused-variable warning.

Silence a release build warning.

st_glsl_to_tgsi.cpp: In function 'pipe_error st_translate_program(gl_context*, uint, ureg_program*, glsl_to_tgsi_visitor*, const gl_program*, GLuint, const GLuint*, const GLuint*, const ubyte*, const ubyte*, const GLuint*, const GLuint*, GLuint, const GLuint*, const GLuint*, const ubyte*, const ubyte*, boolean, boolean)':
st_glsl_to_tgsi.cpp:5461:36: warning: unused variable 'pscreen' [-Wunused-variable]
                struct pipe_screen *pscreen = st->pipe->screen;
                                    ^

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp