[Mesa-dev] [PATCH] egl: fix gcc warning braces around scalar initializer
Alejandro Piñeiro
apinheiro at igalia.com
Mon Sep 12 07:42:00 UTC 2016
Reviewed-by: Alejandro Piñeiro <apinheiro at igalia.com>
On 12/09/16 01:24, Timothy Arceri wrote:
> ---
> src/egl/main/eglcurrent.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/egl/main/eglcurrent.c b/src/egl/main/eglcurrent.c
> index 345f4cc..2a225bc 100644
> --- a/src/egl/main/eglcurrent.c
> +++ b/src/egl/main/eglcurrent.c
> @@ -38,7 +38,7 @@
>
> /* This should be kept in sync with _eglInitThreadInfo() */
> #define _EGL_THREAD_INFO_INITIALIZER \
> - { EGL_SUCCESS, { NULL }, 0 }
> + { EGL_SUCCESS, NULL, 0 }
>
> /* a fallback thread info to guarantee that every thread always has one */
> static _EGLThreadInfo dummy_thread = _EGL_THREAD_INFO_INITIALIZER;
>
--
Alejandro Piñeiro <apinheiro at igalia.com>
More information about the mesa-dev
mailing list