r600g/sb: Initialize ra_checker member variables.
authorVinson Lee <vlee@freedesktop.org>
Sat, 13 Jul 2013 06:41:08 +0000 (23:41 -0700)
committerVadim Girlin <vadimgirlin@gmail.com>
Wed, 17 Jul 2013 14:27:30 +0000 (18:27 +0400)
Fixes "Uninitialized scalar field" defect reported by Coverity.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
src/gallium/drivers/r600/sb/sb_pass.h

index c7272ba2680b053032a09df0c755b493221ec9ca..c3ea8734de36a10211b5ad001c5f899797ea0469 100644 (file)
@@ -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();