[Piglit] [PATCH 5/6] glean/fbo: Initialize FBOTest member variables.

Vinson Lee vlee at freedesktop.org
Tue Jan 1 16:50:01 PST 2013


Fixes uninitialized scalar field defect reported by Coverity.

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

diff --git a/tests/glean/tfbo.h b/tests/glean/tfbo.h
index 01d0d27..f7fe4d7 100644
--- a/tests/glean/tfbo.h
+++ b/tests/glean/tfbo.h
@@ -47,7 +47,9 @@ class FBOTest: public MultiTest
 public:
 	FBOTest(const char* testName, const char* filter,
                  const char *extensions, const char* description):
-		MultiTest(testName, filter, extensions, description)
+		MultiTest(testName, filter, extensions, description),
+		haveARBfbo(false),
+		tolerance()
 	{
 	}
 
-- 
1.8.0.2



More information about the Piglit mailing list