[Piglit] [PATCH] tests: Silence unused variable warning

Brian Paul brianp at vmware.com
Mon May 9 20:48:29 UTC 2016


On 05/09/2016 12:12 PM, Dylan Baker wrote:
> vs and fs are unused in this function.
>
> Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
> ---
>   tests/spec/arb_gpu_shader_fp64/execution/gs-getuniformdv.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/spec/arb_gpu_shader_fp64/execution/gs-getuniformdv.c b/tests/spec/arb_gpu_shader_fp64/execution/gs-getuniformdv.c
> index 8a47488..9179c80 100644
> --- a/tests/spec/arb_gpu_shader_fp64/execution/gs-getuniformdv.c
> +++ b/tests/spec/arb_gpu_shader_fp64/execution/gs-getuniformdv.c
> @@ -214,7 +214,7 @@ void
>   piglit_init(int argc, char **argv)
>   {
>   	bool piglit_pass = true;
> -	GLuint vs, fs, prog;
> +	GLuint prog;
>   	GLint numUniforms, i;
>   	GLint loc;
>   	enum uniform_enum u;
>

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


More information about the Piglit mailing list