From 8597c986d739212024bcb663470b929095230a12 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 10 Jan 2012 12:40:10 -0700 Subject: [PATCH] draw: remove unused 'so' variable in draw_pt_so_emit() --- src/gallium/auxiliary/draw/draw_pt_so_emit.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gallium/auxiliary/draw/draw_pt_so_emit.c b/src/gallium/auxiliary/draw/draw_pt_so_emit.c index d4182a843ca..466f46abab3 100644 --- a/src/gallium/auxiliary/draw/draw_pt_so_emit.c +++ b/src/gallium/auxiliary/draw/draw_pt_so_emit.c @@ -259,13 +259,11 @@ void draw_pt_so_emit( struct pt_so_emit *emit, { struct draw_context *draw = emit->draw; struct vbuf_render *render = draw->render; - struct pipe_stream_output_info *so; unsigned start, i; if (!emit->has_so) return; - so = &draw->vs.vertex_shader->state.stream_output; emit->emitted_vertices = 0; emit->emitted_primitives = 0; emit->generated_primitives = 0; -- 2.30.2