[Mesa-dev] [PATCH] r600g/sb: Initialize ra_checker member variables.
Vinson Lee
vlee at freedesktop.org
Fri Jul 12 23:41:08 PDT 2013
Fixes "Uninitialized scalar field" defect reported by Coverity.
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
src/gallium/drivers/r600/sb/sb_pass.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/r600/sb/sb_pass.h b/src/gallium/drivers/r600/sb/sb_pass.h
index c7272ba..c3ea873 100644
--- a/src/gallium/drivers/r600/sb/sb_pass.h
+++ b/src/gallium/drivers/r600/sb/sb_pass.h
@@ -457,7 +457,7 @@ class ra_checker : public pass {
public:
- ra_checker(shader &sh) : pass(sh) {}
+ ra_checker(shader &sh) : pass(sh), rm_stk_level(0), prev_dst() {}
virtual int run();
--
1.8.3.1
More information about the mesa-dev
mailing list