aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-04-05 08:09:57 -0600
committerBrian Paul <[email protected]>2010-04-05 08:10:01 -0600
commitdf65e64c294e93d83f6400b29a2a2d1c69db2c5d (patch)
tree9eff0fff8be81a1ecad2bbcb9cbf61652d7df7f8
parent51e6c57054549538c14eeefba61582cb96541051 (diff)
mesa: remove unused var
Fixes a coverity warnings.
-rw-r--r--src/mesa/main/dlist.c3
1 files changed, 1 insertions, 2 deletions
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, ());
}