aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-04-06 16:34:53 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-04-06 16:35:48 +0900
commitd61e243f0fc3a591c03243a898f9f83290697ff2 (patch)
treea44cf3d957402c0ed96b34eea31b1da2702742bb /src
parentelm_config: Fix typo and warning (diff)
downloadefl-d61e243f0fc3a591c03243a898f9f83290697ff2.tar.gz
elm_glview: Fix warning with clang
I'm using the same gcc construct to initiliaze a complex struct with {} instead of {0}.
Diffstat (limited to 'src')
-rw-r--r--src/lib/elementary/elm_glview.c2
1 files changed, 1 insertions, 1 deletions
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);