Mesa (master): mesa: remove unused var

Brian Paul brianp at kemper.freedesktop.org
Mon Apr 5 14:10:21 UTC 2010


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

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Apr  5 08:09:57 2010 -0600

mesa: remove unused var

Fixes a coverity warnings.

---

 src/mesa/main/dlist.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index cc5fc13..f869a58 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -6130,9 +6130,8 @@ static void GLAPIENTRY
 save_EndTransformFeedback(void)
 {
    GET_CURRENT_CONTEXT(ctx);
-   Node *n;
    ASSERT_OUTSIDE_SAVE_BEGIN_END_AND_FLUSH(ctx);
-   n = alloc_instruction(ctx, OPCODE_END_TRANSFORM_FEEDBACK, 0);
+   (void) alloc_instruction(ctx, OPCODE_END_TRANSFORM_FEEDBACK, 0);
    if (ctx->ExecuteFlag) {
       CALL_EndTransformFeedbackEXT(ctx->Exec, ());
    }




More information about the mesa-commit mailing list