From: Vinson Lee Date: Sat, 13 Jul 2013 06:41:08 +0000 (-0700) Subject: r600g/sb: Initialize ra_checker member variables. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=81d388136708371a111b0ce5e464925c2a052ab6;p=mesa.git r600g/sb: Initialize ra_checker member variables. Fixes "Uninitialized scalar field" defect reported by Coverity. Signed-off-by: Vinson Lee --- 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();