aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChunEon Park <chuneon.park@samsung.com>2015-03-28 15:43:50 +0900
committerChunEon Park <chuneon.park@samsung.com>2015-03-28 15:43:50 +0900
commitbc9265f16d5a69c47fce3f2162a080ca5ecaf424 (patch)
treeb4dfc5a46f75aacfd847206faae865d2ca2f13c5
parenteina: include blank lines in file iterator T2237 (diff)
downloadefl-bc9265f16d5a69c47fce3f2162a080ca5ecaf424.tar.gz
ecore/idler - simpler checking.
-rw-r--r--src/lib/ecore/ecore_idler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore/ecore_idler.c b/src/lib/ecore/ecore_idler.c
index a87471766c..eef2d10bd7 100644
--- a/src/lib/ecore/ecore_idler.c
+++ b/src/lib/ecore/ecore_idler.c
@@ -87,7 +87,7 @@ static void *
_ecore_idler_del(Ecore_Idler *obj)
{
Ecore_Idler_Data *idler = eo_data_scope_get(obj, MY_CLASS);
- EINA_SAFETY_ON_NULL_RETURN_VAL(idler, NULL);
+ if (!idler) return NULL;
EINA_SAFETY_ON_TRUE_RETURN_VAL(idler->delete_me, NULL);
idler->delete_me = 1;
idlers_delete_me = 1;