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:
4530191
)
eo: use EINA_SAFETY_ON_TRUE_GOTO to error message out in case of mistake.
author
Cedric BAIL
<cedric@osg.samsung.com>
Thu, 29 Mar 2018 18:06:12 +0000
(11:06 -0700)
committer
Wonki Kim
<wonki_.kim@samsung.com>
Tue, 10 Apr 2018 11:22:05 +0000
(20:22 +0900)
src/lib/eo/eo_base_class.c
patch
|
blob
|
history
diff --git
a/src/lib/eo/eo_base_class.c
b/src/lib/eo/eo_base_class.c
index
2ed220a
..
183ed0e
100644
(file)
--- a/
src/lib/eo/eo_base_class.c
+++ b/
src/lib/eo/eo_base_class.c
@@
-1984,7
+1984,7
@@
efl_future_cb_from_desc(Eo *o, const Efl_Future_Cb_Desc desc)
EINA_SAFETY_ON_NULL_GOTO(o, end);
pd = efl_data_scope_get(o, EFL_OBJECT_CLASS);
EINA_SAFETY_ON_NULL_GOTO(pd, end);
-
if (pd->invalidate) goto end
;
+
EINA_SAFETY_ON_TRUE_GOTO(pd->invalidate, end)
;
pending = _efl_pending_future_new();
EINA_SAFETY_ON_NULL_GOTO(pending, end);
memcpy(&pending->desc, &desc, sizeof(Efl_Future_Cb_Desc));