Fixes uninitialized scalar field defect reported by Coverity.

Signed-off-by: Vinson Lee <[email protected]>
---
 tests/glean/tglsl1.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/tests/glean/tglsl1.h b/tests/glean/tglsl1.h
index 34c1d23..57cf66d 100644
--- a/tests/glean/tglsl1.h
+++ b/tests/glean/tglsl1.h
@@ -57,7 +57,11 @@ class GLSLTest: public MultiTest
 public:
        GLSLTest(const char* testName, const char* filter,
                  const char *extensions, const char* description):
-               MultiTest(testName, filter, extensions, description)
+               MultiTest(testName, filter, extensions, description),
+               tolerance(),
+               looseTolerance(),
+               glsl_120(false),
+               glsl_130(false)
        {
                testOne = true;  // test with just one surface config
        }
-- 
1.8.0.2

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to