summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-10-19 10:02:28 -0700
committerVinson Lee <vlee@vmware.com>2010-10-19 10:02:28 -0700
commit22725eb3e87921632a24579d63bb20c35a122afa (patch)
treeacfedf9c9a6419329939ad7dff160ec43120c5d8 /src
parenta143b6d5d8e2646a7daedc2a13f2b964b89dd0ac (diff)
llvmpipe: Initialize state variable in debug_bin function.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast_debug.c2
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 e2783aa568..5c9dc50866 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;