summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-02-14 13:10:08 -0800
committerVinson Lee <vlee@vmware.com>2010-02-14 13:10:08 -0800
commit7e64701263f8158fb4138610ba63df41eefe6594 (patch)
tree852161efc7806a513f7b779e449d9f74e5a4b2fe /src/gallium
parent558c15995f486d72b959ad19c914a38adbcbe5f7 (diff)
svga: Silence uninitialized variable warning.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/svga/svga_tgsi_insn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_tgsi_insn.c b/src/gallium/drivers/svga/svga_tgsi_insn.c
index be821e9821..6debd98b7a 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;
}