Module: Mesa Branch: master Commit: 2da15a3b89aa6ab6f1a7f78f57e3ef91b2ddda50 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2da15a3b89aa6ab6f1a7f78f57e3ef91b2ddda50
Author: Timothy Arceri <timothy.arc...@collabora.com> Date: Mon Sep 12 09:24:00 2016 +1000 egl: fix gcc warning braces around scalar initializer Reviewed-by: Alejandro PiƱeiro <apinhe...@igalia.com> --- 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; _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit