From: Brian Paul Date: Wed, 29 Mar 2017 16:50:00 +0000 (-0600) Subject: tnl: remove unused var to silence warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=15bb0511d663b5458105f8eb7a68d917d9612ac7;p=mesa.git tnl: remove unused var to silence warning Trivial. --- diff --git a/src/mesa/tnl/t_vp_build.c b/src/mesa/tnl/t_vp_build.c index 3d8210cec25..7de2105d326 100644 --- a/src/mesa/tnl/t_vp_build.c +++ b/src/mesa/tnl/t_vp_build.c @@ -40,8 +40,6 @@ */ void _tnl_UpdateFixedFunctionProgram( struct gl_context *ctx ) { - const struct gl_program *prev = ctx->VertexProgram._Current; - if (!ctx->VertexProgram._Current || ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram) { ctx->VertexProgram._Current