[Piglit] [PATCH] egl_khr_fence_sync: Remove unused variable.
Timothy Arceri
t_arceri at yahoo.com.au
Tue Jul 21 01:41:05 PDT 2015
Reviewed-by: Timothy Arceri <t_arceri at yahoo.com.au>
On Mon, 2015-07-20 at 20:50 -0700, Vinson Lee wrote:
> Fix compiler warnings.
>
> egl_khr_fence_sync.c:70:36: warning: tentative array definition assumed to
> have one element
> static const struct piglit_subtest subtests[];
> ^
> egl_khr_fence_sync.c:70:36: warning: unused variable 'subtests' [-Wunused
> -const-variable]
>
> Signed-off-by: Vinson Lee <vlee at freedesktop.org>
> ---
> tests/egl/spec/egl_khr_fence_sync/egl_khr_fence_sync.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/tests/egl/spec/egl_khr_fence_sync/egl_khr_fence_sync.c
> b/tests/egl/spec/egl_khr_fence_sync/egl_khr_fence_sync.c
> index af5fad3..3a6dd9b 100644
> --- a/tests/egl/spec/egl_khr_fence_sync/egl_khr_fence_sync.c
> +++ b/tests/egl/spec/egl_khr_fence_sync/egl_khr_fence_sync.c
> @@ -67,7 +67,6 @@ EGLint (*peglWaitSyncKHR)(EGLDisplay dpy, EGLSyncKHR sync,
> EGLint flags);
> EGLBoolean (*peglGetSyncAttribKHR)(EGLDisplay dpy, EGLSyncKHR sync, EGLint
> attribute, EGLint *value);
>
> static const char *prog_name;
> -static const struct piglit_subtest subtests[];
>
> static const EGLint canary = 0x31415926;
> static EGLDisplay g_dpy = 0;
More information about the Piglit
mailing list