Mesa (master): tnl: remove unused var to silence warning

Brian Paul brianp at kemper.freedesktop.org
Fri Mar 31 19:36:00 UTC 2017


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

Author: Brian Paul <brianp at vmware.com>
Date:   Wed Mar 29 10:50:00 2017 -0600

tnl: remove unused var to silence warning

Trivial.

---

 src/mesa/tnl/t_vp_build.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/mesa/tnl/t_vp_build.c b/src/mesa/tnl/t_vp_build.c
index 3d8210cec2..7de2105d32 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




More information about the mesa-commit mailing list