[Piglit] [PATCH] ext_framebuffer_multisample: Initialize Test::filter_mode.

Vinson Lee vlee at freedesktop.org
Sun Nov 3 15:16:00 PST 2013


Fixes "Uninitialized scalar field" reported by Coverity.

Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
 tests/spec/ext_framebuffer_multisample/common.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/spec/ext_framebuffer_multisample/common.cpp b/tests/spec/ext_framebuffer_multisample/common.cpp
index 5d4a0be..09585e7 100644
--- a/tests/spec/ext_framebuffer_multisample/common.cpp
+++ b/tests/spec/ext_framebuffer_multisample/common.cpp
@@ -260,7 +260,8 @@ Test::Test(TestPattern *pattern, ManifestProgram *manifest_program,
 	  pattern_height(0),
 	  supersample_factor(0),
 	  srgb(srgb),
-	  downsample_prog()
+	  downsample_prog(),
+	  filter_mode(GL_NONE)
 {
 }
 
-- 
1.8.3.2



More information about the Piglit mailing list