diff options
author | Vinson Lee <[email protected]> | 2010-10-19 10:02:28 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-10-19 10:02:28 -0700 |
commit | 22725eb3e87921632a24579d63bb20c35a122afa (patch) | |
tree | acfedf9c9a6419329939ad7dff160ec43120c5d8 | |
parent | a143b6d5d8e2646a7daedc2a13f2b964b89dd0ac (diff) |
llvmpipe: Initialize state variable in debug_bin function.
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_rast_debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |