From: Vinson Lee Date: Tue, 19 Oct 2010 17:02:28 +0000 (-0700) Subject: llvmpipe: Initialize state variable in debug_bin function. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=22725eb3e87921632a24579d63bb20c35a122afa;p=mesa.git llvmpipe: Initialize state variable in debug_bin function. --- diff --git a/src/gallium/drivers/llvmpipe/lp_rast_debug.c b/src/gallium/drivers/llvmpipe/lp_rast_debug.c index e2783aa5683..5c9dc50866b 100644 --- a/src/gallium/drivers/llvmpipe/lp_rast_debug.c +++ b/src/gallium/drivers/llvmpipe/lp_rast_debug.c @@ -95,7 +95,7 @@ is_blend( const struct lp_rast_state *state, static void debug_bin( const struct cmd_bin *bin ) { - const struct lp_rast_state *state; + const struct lp_rast_state *state = NULL; const struct cmd_block *head = bin->head; int i, j = 0;