Mesa (master): st/mesa: remove unused variables to fix compile warnings

Marek Olšák mareko at kemper.freedesktop.org
Mon Oct 8 23:15:56 UTC 2012


Module: Mesa
Branch: master
Commit: 810d2e167c5a507084d1865a260809b847ca3201
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=810d2e167c5a507084d1865a260809b847ca3201

Author: Marek Olšák <maraeo at gmail.com>
Date:   Tue Oct  9 01:11:56 2012 +0200

st/mesa: remove unused variables to fix compile warnings

---

 src/mesa/state_tracker/st_mesa_to_tgsi.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/mesa/state_tracker/st_mesa_to_tgsi.c b/src/mesa/state_tracker/st_mesa_to_tgsi.c
index 5f056b9..92f5267 100644
--- a/src/mesa/state_tracker/st_mesa_to_tgsi.c
+++ b/src/mesa/state_tracker/st_mesa_to_tgsi.c
@@ -1169,7 +1169,6 @@ st_translate_mesa_program(
                 * inconsistency, we insert a U2F.
                 */
                struct st_context *st = st_context(ctx);
-               struct pipe_screen *pscreen = st->pipe->screen;
                assert(procType == TGSI_PROCESSOR_VERTEX);
                assert(pscreen->get_shader_param(pscreen, PIPE_SHADER_VERTEX, PIPE_SHADER_CAP_INTEGERS));
                if (!ctx->Const.NativeIntegers) {




More information about the mesa-commit mailing list