Fixes uninitialized scalar field defect reported by Coverity.

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

diff --git a/tests/glean/ttexenv.h b/tests/glean/ttexenv.h
index 6cf1f1e..2e50d22 100644
--- a/tests/glean/ttexenv.h
+++ b/tests/glean/ttexenv.h
@@ -42,7 +42,8 @@ class TexEnvTest: public BasicTest {
     public:
        TexEnvTest(const char* testName, const char* filter,
                       const char* description):
-           BasicTest(testName, filter, description) {
+           BasicTest(testName, filter, description),
+           mTolerance() {
        }
 
        virtual void runOne(BasicResult& r, Window& w);
-- 
1.8.0.2

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

Reply via email to