[Piglit] [PATCH] GL_EXT_transform_feedback/negative-prims: Remove unused variable.

Brian Paul brianp at vmware.com
Mon Apr 2 07:52:25 PDT 2012


On 03/31/2012 12:56 PM, Vinson Lee wrote:
> Fixes this GCC warning.
> negative-prims.c: In function ‘piglit_display’:
> negative-prims.c:114: warning: unused variable ‘tf’
>
> Signed-off-by: Vinson Lee<vlee at freedesktop.org>
> ---
>   tests/spec/ext_transform_feedback/negative-prims.c |    1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/tests/spec/ext_transform_feedback/negative-prims.c b/tests/spec/ext_transform_feedback/negative-prims.c
> index 886b9c2..27ec0b7 100644
> --- a/tests/spec/ext_transform_feedback/negative-prims.c
> +++ b/tests/spec/ext_transform_feedback/negative-prims.c
> @@ -111,7 +111,6 @@ enum piglit_result
>   piglit_display(void)
>   {
>   	bool pass = true;
> -	GLuint tf;
>
>   	pass = pass&&  test_transform_feedback_prim(GL_POINTS, "GL_POINTS");
>   	pass = pass&&  test_transform_feedback_prim(GL_LINES, "GL_LINES");

Reviewed-by: Brian Paul <brianp at vmware.com>


More information about the Piglit mailing list