From: Brian Paul Date: Mon, 5 Apr 2010 14:09:57 +0000 (-0600) Subject: mesa: remove unused var X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=df65e64c294e93d83f6400b29a2a2d1c69db2c5d;p=mesa.git mesa: remove unused var Fixes a coverity warnings. --- diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c index cc5fc130dfe..f869a585d6b 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, ()); }