egl: fix gcc warning braces around scalar initializer
authorTimothy Arceri <timothy.arceri@collabora.com>
Sun, 11 Sep 2016 23:24:00 +0000 (09:24 +1000)
committerTimothy Arceri <timothy.arceri@collabora.com>
Mon, 12 Sep 2016 12:43:49 +0000 (22:43 +1000)
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
src/egl/main/eglcurrent.c

index 345f4cc89227efe978726161d71bd648ae68163d..2a225bc48357889dbddd2af0fe2a891bdae36f58 100644 (file)
@@ -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;