llvmpipe: Initialize state variable in debug_bin function.
authorVinson Lee <vlee@vmware.com>
Tue, 19 Oct 2010 17:02:28 +0000 (10:02 -0700)
committerVinson Lee <vlee@vmware.com>
Tue, 19 Oct 2010 17:02:28 +0000 (10:02 -0700)
src/gallium/drivers/llvmpipe/lp_rast_debug.c

index e2783aa..5c9dc50 100644 (file)
@@ -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;