Mesa (master): llvmpipe: Fix uninitialized variable on non-debug builds.
Vinson Lee
vlee at kemper.freedesktop.org
Fri Jun 4 00:25:03 UTC 2010
Module: Mesa
Branch: master
Commit: a52f577270300bf3b986f175d26f96ae83c048d9
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a52f577270300bf3b986f175d26f96ae83c048d9
Author: Vinson Lee <vlee at vmware.com>
Date: Thu Jun 3 17:24:22 2010 -0700
llvmpipe: Fix uninitialized variable on non-debug builds.
---
src/gallium/drivers/llvmpipe/lp_setup.c | 1 +
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 8556dc8..b6db66f 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;
More information about the mesa-commit
mailing list