[Piglit] [PATCH] active-sampler-conflict.c: remove unused variable

Vinson Lee vlee at freedesktop.org
Wed Aug 5 19:54:57 PDT 2015


On Wed, Aug 5, 2015 at 4:53 PM, Dylan Baker <baker.dylan.c at gmail.com> wrote:
> This silences a GCC warning
>
> Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
> ---
>  tests/spec/arb_separate_shader_objects/active-sampler-conflict.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/tests/spec/arb_separate_shader_objects/active-sampler-conflict.c b/tests/spec/arb_separate_shader_objects/active-sampler-conflict.c
> index a03b74d..0a91f49 100644
> --- a/tests/spec/arb_separate_shader_objects/active-sampler-conflict.c
> +++ b/tests/spec/arb_separate_shader_objects/active-sampler-conflict.c
> @@ -248,7 +248,6 @@ void piglit_init(int argc, char **argv)
>         GLuint pipe;
>         GLuint vao;
>         GLuint bo;
> -       GLint s_loc;
>         char *s2_uni_name = "s2";
>         char *s3_uni_name = "s3";
>         char *s2_uni_array_name = "s2[1]";
> --
> 2.5.0
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit


Reviewed-by: Vinson Lee <vlee at freedesktop.org>


More information about the Piglit mailing list