From: Vinson Lee Date: Fri, 4 Jun 2010 00:24:22 +0000 (-0700) Subject: llvmpipe: Fix uninitialized variable on non-debug builds. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a52f577270300bf3b986f175d26f96ae83c048d9;p=mesa.git llvmpipe: Fix uninitialized variable on non-debug builds. --- 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;