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

Paul Berry stereotype441 at gmail.com
Tue Nov 5 16:00:56 PST 2013


On 3 November 2013 15:16, Vinson Lee <vlee at freedesktop.org> wrote:

> Fixes "Uninitialized scalar field" reported by Coverity.
>
> Signed-off-by: Vinson Lee <vlee at freedesktop.org>
>

Reviewed-by: Paul Berry <stereotype441 at gmail.com>


> ---
>  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
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20131105/6d3797d3/attachment.html>


More information about the Piglit mailing list