summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-01-31 00:44:57 -0800
committerVinson Lee <vlee@vmware.com>2010-01-31 00:44:57 -0800
commitc8f781e0ad6d6516e8763b72d54f21c19f1abc3f (patch)
treebf5479433150829d1ccb77a4709c1a4bfd43d3ba
parentd36e90f580c06d08526aa7b19793ef986a86ca33 (diff)
i965: Silence uninitialized variable warning.
-rw-r--r--src/mesa/drivers/dri/i965/brw_vs_emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs_emit.c b/src/mesa/drivers/dri/i965/brw_vs_emit.c
index 52cc04fee8..4f4eef85e8 100644
--- a/src/mesa/drivers/dri/i965/brw_vs_emit.c
+++ b/src/mesa/drivers/dri/i965/brw_vs_emit.c
@@ -1438,7 +1438,7 @@ void brw_vs_emit(struct brw_vs_compile *c )
GLuint insn, if_depth = 0, loop_depth = 0;
GLuint end_offset = 0;
struct brw_instruction *end_inst, *last_inst;
- struct brw_instruction *if_inst[MAX_IF_DEPTH], *loop_inst[MAX_LOOP_DEPTH];
+ struct brw_instruction *if_inst[MAX_IF_DEPTH], *loop_inst[MAX_LOOP_DEPTH] = { 0 };
const struct brw_indirect stack_index = brw_indirect(0, 0);
GLuint index;
GLuint file;