elm_color_class: add missing return value 25/148625/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:30:28 +0000 (16:30 +0900)
Change-Id: I76e3bf28d2269c68a88fa02118a554d1a7b727ec

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);