From bdd15b5749b45929fa642c3e47997f52eb07fbe5 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 4 May 2004 15:11:06 +0000 Subject: Fix minor warnings found with g++. --- src/mesa/swrast/s_feedback.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/mesa/swrast/s_feedback.c') diff --git a/src/mesa/swrast/s_feedback.c b/src/mesa/swrast/s_feedback.c index 2ebaaff3c1..892c40db6a 100644 --- a/src/mesa/swrast/s_feedback.c +++ b/src/mesa/swrast/s_feedback.c @@ -51,7 +51,6 @@ static void feedback_vertex( GLcontext *ctx, GLfloat win[4]; GLfloat color[4]; GLfloat tc[4]; - GLuint index; win[0] = v->win[0]; win[1] = v->win[1]; @@ -75,9 +74,7 @@ static void feedback_vertex( GLcontext *ctx, COPY_4V(tc, v->texcoord[texUnit]); } - index = v->index; - - _mesa_feedback_vertex( ctx, win, color, (GLfloat)index, tc ); + _mesa_feedback_vertex( ctx, win, color, (GLfloat) v->index, tc ); } -- cgit v1.2.3