[Piglit] [PATCH 1/2] tests: remove unused variable from ext_image_dma_buf_import/refcount

Vinson Lee vlee at freedesktop.org
Mon Oct 3 23:08:13 UTC 2016


On Fri, Sep 30, 2016 at 1:19 PM, Dylan Baker <dylan at pnwbakers.com> wrote:
> tests/spec/ext_image_dma_buf_import/refcount.c:59:6: warning: unused variable ‘cpp’
>   int cpp = 4;
>       ^~~
>
> Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
> ---
>  tests/spec/ext_image_dma_buf_import/refcount.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/tests/spec/ext_image_dma_buf_import/refcount.c b/tests/spec/ext_image_dma_buf_import/refcount.c
> index bc15ff5..7ea200e 100644
> --- a/tests/spec/ext_image_dma_buf_import/refcount.c
> +++ b/tests/spec/ext_image_dma_buf_import/refcount.c
> @@ -56,7 +56,6 @@ piglit_display(void)
>                 0xff, 0x00, 0x00, 0xff,
>                 0xff, 0xff, 0xff, 0xff
>         };
> -       int cpp = 4;
>         enum piglit_result res;
>         struct piglit_dma_buf *buf;
>         EGLImageKHR img1, img2;
> --
> 2.10.0
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/piglit

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


More information about the Piglit mailing list