Fixes uninitialized scalar field defect reported by Coverity.

Signed-off-by: Vinson Lee <v...@freedesktop.org>
---
 tests/glean/tfragprog1.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tests/glean/tfragprog1.h b/tests/glean/tfragprog1.h
index 37656eb..2e795eb 100644
--- a/tests/glean/tfragprog1.h
+++ b/tests/glean/tfragprog1.h
@@ -66,8 +66,9 @@ class FragmentProgramTest: public MultiTest
 {
 public:
        FragmentProgramTest(const char* testName, const char* filter,
-                           const char *extensions, const char* description)
-               : MultiTest(testName, filter, extensions, description)
+                           const char *extensions, const char* description):
+               MultiTest(testName, filter, extensions, description),
+               tolerance()
        {
        }
 
-- 
1.8.0.2

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to