Mesa (master): i965: Silence uninitialized variable warning.
Vinson Lee
vlee at kemper.freedesktop.org
Sun Jan 31 08:45:52 UTC 2010
Module: Mesa
Branch: master
Commit: c8f781e0ad6d6516e8763b72d54f21c19f1abc3f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c8f781e0ad6d6516e8763b72d54f21c19f1abc3f
Author: Vinson Lee <vlee at vmware.com>
Date: Sun Jan 31 00:44:57 2010 -0800
i965: Silence uninitialized variable warning.
---
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 52cc04f..4f4eef8 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;
More information about the mesa-commit
mailing list