From b5f31333a6cdc96b9638e6addfbb7744d506a73b Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Mon, 9 Jan 2012 14:26:04 +0100 Subject: svga: Silence warning Signed-off-by: Jakob Bornecrantz Reviewed-by Brian Paul --- src/gallium/drivers/svga/svga_tgsi_decl_sm30.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/gallium/drivers/svga/svga_tgsi_decl_sm30.c b/src/gallium/drivers/svga/svga_tgsi_decl_sm30.c index 15cd40284c6..0c5cb90939c 100644 --- a/src/gallium/drivers/svga/svga_tgsi_decl_sm30.c +++ b/src/gallium/drivers/svga/svga_tgsi_decl_sm30.c @@ -528,15 +528,8 @@ svga_translate_decl_sm30( struct svga_shader_emitter *emit, { unsigned first = decl->Range.First; unsigned last = decl->Range.Last; - unsigned semantic = 0; - unsigned semantic_idx = 0; unsigned idx; - if (decl->Declaration.Semantic) { - semantic = decl->Semantic.Name; - semantic_idx = decl->Semantic.Index; - } - for( idx = first; idx <= last; idx++ ) { boolean ok; -- cgit v1.2.3