From: Timothy Arceri Date: Sun, 11 Sep 2016 23:24:00 +0000 (+1000) Subject: egl: fix gcc warning braces around scalar initializer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2da15a3b89aa6ab6f1a7f78f57e3ef91b2ddda50;p=mesa.git egl: fix gcc warning braces around scalar initializer Reviewed-by: Alejandro PiƱeiro --- diff --git a/src/egl/main/eglcurrent.c b/src/egl/main/eglcurrent.c index 345f4cc8922..2a225bc4835 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;