jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=8ec48dc268351af4aac6761fdd1f9600cdd3240e

commit 8ec48dc268351af4aac6761fdd1f9600cdd3240e
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Tue Mar 8 14:15:45 2016 +0900

    Edje: Fix warning with clang
    
    Annoying incomplete initializer warning. Apparently gcc/clang
    don't consider {0} as good enough for "initialize everything to 0"
    even though they do it.
---
 src/lib/edje/edje_program.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/edje/edje_program.c b/src/lib/edje/edje_program.c
index e8c298b..21bf96c 100644
--- a/src/lib/edje/edje_program.c
+++ b/src/lib/edje/edje_program.c
@@ -10,7 +10,7 @@ static double _edje_transition_duration_scale = 0;
 static Eina_Bool
 _edje_animator_cb(void *data)
 {
-   const Eo_Event event = {0};
+   const Eo_Event event = { NULL, NULL, NULL };
    _edje_timer_cb(data, &event);
    return EINA_TRUE;
 }

-- 


Reply via email to