svga: Silence uninitialized variable warning.
authorVinson Lee <vlee@vmware.com>
Sun, 14 Feb 2010 21:10:08 +0000 (13:10 -0800)
committerVinson Lee <vlee@vmware.com>
Sun, 14 Feb 2010 21:10:08 +0000 (13:10 -0800)
src/gallium/drivers/svga/svga_tgsi_insn.c

index be821e98217168306958e62b8bb14a981312f68f..6debd98b7a1605ccbc3f208837dfaea77082bf76 100644 (file)
@@ -525,6 +525,7 @@ static boolean emit_def_const( struct svga_shader_emitter *emit,
       break;
    default:
       assert(0);
+      opcode = inst_token( SVGA3DOP_NOP );
       break;
    }