From: Kenneth Graunke Date: Fri, 2 Jul 2010 09:50:40 +0000 (-0700) Subject: ir_to_mesa: Fix uninitalized value. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e2a358348b143a163c065d82c7375e6a94e98f2a;p=mesa.git ir_to_mesa: Fix uninitalized value. --- diff --git a/src/mesa/shader/ir_to_mesa.cpp b/src/mesa/shader/ir_to_mesa.cpp index 87d6f8452a2..547b18402f9 100644 --- a/src/mesa/shader/ir_to_mesa.cpp +++ b/src/mesa/shader/ir_to_mesa.cpp @@ -1546,7 +1546,7 @@ static void set_branchtargets(struct prog_instruction *mesa_instructions, int num_instructions) { - int if_count = 0, loop_count; + int if_count = 0, loop_count = 0; int *if_stack, *loop_stack; int if_stack_pos = 0, loop_stack_pos = 0; int i, j;