softpipe: Silence unused variable warning on non-LLVM builds.
authorVinson Lee <vlee@freedesktop.org>
Mon, 16 Jan 2012 21:02:03 +0000 (13:02 -0800)
committerVinson Lee <vlee@freedesktop.org>
Tue, 17 Jan 2012 00:13:51 +0000 (16:13 -0800)
commit8e543cc09862abb57e9d4dafe12e20a49972987b
treef58fa936074217038918d161816176975f26e815
parentdd7220652e65a8a23e7739eeee687f3d6a865b80
softpipe: Silence unused variable warning on non-LLVM builds.

Fix this GCC warning with non-LLVM builds.
sp_screen.c: In function ‘softpipe_get_shader_param’:
sp_screen.c:141:28: warning: unused variable ‘sp_screen’ [-Wunused-variable]

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/softpipe/sp_screen.c