OSDN Git Service

mesa: remove unused var
authorBrian Paul <brianp@vmware.com>
Mon, 5 Apr 2010 14:09:57 +0000 (08:09 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 5 Apr 2010 14:10:01 +0000 (08:10 -0600)
Fixes a coverity warnings.

src/mesa/main/dlist.c

index cc5fc13..f869a58 100644 (file)
@@ -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, ());
    }