[Piglit] [PATCH] glean/vertprog1: Initialize VertexProgramTest member variables.

Brian Paul brianp at vmware.com
Tue Dec 18 06:59:32 PST 2012


On 12/18/2012 12:24 AM, Vinson Lee wrote:
> Fixes uninitialized scalar field defect reported by Coverity.
>
> Signed-off-by: Vinson Lee<vlee at freedesktop.org>
> ---
>   tests/glean/tvertprog1.h | 4 +++-
>   1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/tests/glean/tvertprog1.h b/tests/glean/tvertprog1.h
> index 429692f..1c80406 100644
> --- a/tests/glean/tvertprog1.h
> +++ b/tests/glean/tvertprog1.h
> @@ -59,7 +59,9 @@ class VertexProgramTest: public MultiTest
>   public:
>   	VertexProgramTest(const char* testName, const char* filter,
>   			  const char *extensions, const char* description):
> -		MultiTest(testName, filter, extensions, description)
> +		MultiTest(testName, filter, extensions, description),
> +		tolerance(),
> +		looseTolerance()
>   	{
>   	}
>

For both glean patches:
Reviewed-by: Brian Paul <brianp at vmware.com>


More information about the Piglit mailing list