From: Marek Olšák Date: Mon, 8 Oct 2012 23:11:56 +0000 (+0200) Subject: st/mesa: remove unused variables to fix compile warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=810d2e167c5a507084d1865a260809b847ca3201;p=mesa.git st/mesa: remove unused variables to fix compile warnings --- diff --git a/src/mesa/state_tracker/st_mesa_to_tgsi.c b/src/mesa/state_tracker/st_mesa_to_tgsi.c index 5f056b9b1e8..92f52671424 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) {