From d61e243f0fc3a591c03243a898f9f83290697ff2 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Wed, 6 Apr 2016 16:34:53 +0900 Subject: [PATCH] elm_glview: Fix warning with clang I'm using the same gcc construct to initiliaze a complex struct with {} instead of {0}. --- src/lib/elementary/elm_glview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elementary/elm_glview.c b/src/lib/elementary/elm_glview.c index 31d54f29e1..80eeea7dad 100644 --- a/src/lib/elementary/elm_glview.c +++ b/src/lib/elementary/elm_glview.c @@ -46,7 +46,7 @@ _elm_glview_elm_widget_on_focus(Eo *obj, Elm_Glview_Data *_pd EINA_UNUSED, Elm_O static void _glview_update_surface(Evas_Object *obj) { - Evas_Native_Surface ns = { 0 }; + Evas_Native_Surface ns = {}; Evas_GL_Options_Bits opt; ELM_GLVIEW_DATA_GET(obj, sd);