From 15bb0511d663b5458105f8eb7a68d917d9612ac7 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 29 Mar 2017 10:50:00 -0600 Subject: tnl: remove unused var to silence warning Trivial. --- src/mesa/tnl/t_vp_build.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/mesa') 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 -- cgit v1.2.3