Fixes uninitialized scalar field defect reported by Coverity.

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

diff --git a/tests/glean/ttexrect.h b/tests/glean/ttexrect.h
index 5e8675b..f305585 100644
--- a/tests/glean/ttexrect.h
+++ b/tests/glean/ttexrect.h
@@ -43,7 +43,8 @@ class TexRectTest: public BasicTest {
     public:
        TexRectTest(const char* testName, const char* filter,
                    const char *prereqs, const char* description):
-           BasicTest(testName, filter, prereqs, description) {
+           BasicTest(testName, filter, prereqs, 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