diff options
author | Vinson Lee <[email protected]> | 2010-01-31 00:44:57 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-01-31 00:44:57 -0800 |
commit | c8f781e0ad6d6516e8763b72d54f21c19f1abc3f (patch) | |
tree | bf5479433150829d1ccb77a4709c1a4bfd43d3ba /src | |
parent | d36e90f580c06d08526aa7b19793ef986a86ca33 (diff) |
i965: Silence uninitialized variable warning.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vs_emit.c | 2 |
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 52cc04fee87..4f4eef85e8c 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; |