elm_color_class: add missing return value 24/148624/1
authorJaeun Choi <jaeun12.choi@samsung.com>
Fri, 8 Sep 2017 07:15:41 +0000 (16:15 +0900)
committerJaeun Choi <jaeun12.choi@samsung.com>
Fri, 8 Sep 2017 07:29:57 +0000 (16:29 +0900)
Change-Id: Ic420433a43cfcd4aecdbe3f405dea27bd18665ef

src/lib/elm_color_class.c

index 3e63016..5f53b66 100644 (file)
@@ -219,7 +219,7 @@ _colorclass_activate(void *data, Eo *obj EINA_UNUSED,
    else
      {
         cc->current = calloc(1, sizeof(Colorclass)); //actually Elm_Color_Overlay
-        if (!cc->current) return;
+        if (!cc->current) return EINA_TRUE;
 
         memcpy(cc->current, ecc, sizeof(Elm_Color_Overlay));
         cc->current->name = eina_stringshare_ref(ecc->name);