[Piglit] [PATCH 4/6] glean/fragprog1: Initialize FragmentProgramTest member variable.
Vinson Lee
vlee at freedesktop.org
Tue Jan 1 16:50:00 PST 2013
Fixes uninitialized scalar field defect reported by Coverity.
Signed-off-by: Vinson Lee <vlee at 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
More information about the Piglit
mailing list