From 81d388136708371a111b0ce5e464925c2a052ab6 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Fri, 12 Jul 2013 23:41:08 -0700 Subject: [PATCH] r600g/sb: Initialize ra_checker member variables. Fixes "Uninitialized scalar field" defect reported by Coverity. Signed-off-by: Vinson Lee --- 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 c7272ba2680..c3ea8734de3 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(); -- 2.30.2