summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-06-03 17:24:22 -0700
committerVinson Lee <[email protected]>2010-06-03 17:24:22 -0700
commita52f577270300bf3b986f175d26f96ae83c048d9 (patch)
treeca096db01b941a8350ffc21923dd05425e89903f /src
parentd6ba70c658d05033f04dd73bc40a3e2d29892121 (diff)
llvmpipe: Fix uninitialized variable on non-debug builds.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup.c b/src/gallium/drivers/llvmpipe/lp_setup.c
index 8556dc87b44..b6db66fe64e 100644
--- a/src/gallium/drivers/llvmpipe/lp_setup.c
+++ b/src/gallium/drivers/llvmpipe/lp_setup.c
@@ -366,6 +366,7 @@ lp_setup_clear( struct lp_setup_context *setup,
break;
default:
assert(0);
+ tmpval = 0;
}
}
setup->clear.clearzs.clearzs_mask |= mask;