[Piglit] [PATCH 2/6] glean/pbo: Initialize PBOTest member variable.
Vinson Lee
vlee at freedesktop.org
Tue Jan 1 16:49:58 PST 2013
Fixes uninitialized scalar field defect reported by Coverity.
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
tests/glean/tpbo.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/glean/tpbo.h b/tests/glean/tpbo.h
index cda1a49..b6a190f 100644
--- a/tests/glean/tpbo.h
+++ b/tests/glean/tpbo.h
@@ -47,7 +47,8 @@ class PBOTest: public MultiTest
public:
PBOTest(const char* testName, const char* filter,
const char *extensions, const char* description):
- MultiTest(testName, filter, extensions, description)
+ MultiTest(testName, filter, extensions, description),
+ tolerance()
{
}
--
1.8.0.2
More information about the Piglit
mailing list