From 7e64701263f8158fb4138610ba63df41eefe6594 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Sun, 14 Feb 2010 13:10:08 -0800 Subject: [PATCH] svga: Silence uninitialized variable warning. --- src/gallium/drivers/svga/svga_tgsi_insn.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/svga/svga_tgsi_insn.c b/src/gallium/drivers/svga/svga_tgsi_insn.c index be821e98217..6debd98b7a1 100644 --- a/src/gallium/drivers/svga/svga_tgsi_insn.c +++ b/src/gallium/drivers/svga/svga_tgsi_insn.c @@ -525,6 +525,7 @@ static boolean emit_def_const( struct svga_shader_emitter *emit, break; default: assert(0); + opcode = inst_token( SVGA3DOP_NOP ); break; } -- 2.30.2