[Piglit] [PATCH] glean/vertprog1: Initialize VertexProgramTest member variables.

Vinson Lee vlee at freedesktop.org
Mon Dec 17 23:24:12 PST 2012


Fixes uninitialized scalar field defect reported by Coverity.

Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
 tests/glean/tvertprog1.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/glean/tvertprog1.h b/tests/glean/tvertprog1.h
index 429692f..1c80406 100644
--- a/tests/glean/tvertprog1.h
+++ b/tests/glean/tvertprog1.h
@@ -59,7 +59,9 @@ class VertexProgramTest: public MultiTest
 public:
 	VertexProgramTest(const char* testName, const char* filter,
 			  const char *extensions, const char* description):
-		MultiTest(testName, filter, extensions, description)
+		MultiTest(testName, filter, extensions, description),
+		tolerance(),
+		looseTolerance()
 	{
 	}
 
-- 
1.8.0.2



More information about the Piglit mailing list