projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
caf68f1
)
Edje: Fix warning with clang
author
Jean-Philippe Andre
<jp.andre@samsung.com>
Tue, 8 Mar 2016 05:15:45 +0000
(14:15 +0900)
committer
Jean-Philippe Andre
<jp.andre@samsung.com>
Tue, 15 Mar 2016 02:11:59 +0000
(11:11 +0900)
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
patch
|
blob
|
history
diff --git
a/src/lib/edje/edje_program.c
b/src/lib/edje/edje_program.c
index
e8c298b
..
21bf96c
100644
(file)
--- 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;
}