jackdanielz pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=71ae620ea92301ed266f597e457d167e77bbe865

commit 71ae620ea92301ed266f597e457d167e77bbe865
Author: Daniel Zaoui <daniel.za...@samsung.com>
Date:   Thu Mar 20 07:12:16 2014 +0200

    Fix logically dead code.
    
    CID 1193237
    
    Before Eolian, a Eina_List ** was used and checking ret value was
    mandatory. Now that we have a normal Eina_List *, we don't need to check
    that anymore.
---
 src/lib/elm_layout.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elm_layout.c b/src/lib/elm_layout.c
index 2e7408c..eeaa053 100644
--- a/src/lib/elm_layout.c
+++ b/src/lib/elm_layout.c
@@ -1090,7 +1090,7 @@ _elm_layout_elm_container_content_swallow_list_get(Eo 
*obj EINA_UNUSED, Elm_Layo
 
    EINA_LIST_FOREACH(sd->subs, l, sub_d)
      {
-        if ((sub_d->type == SWALLOW) && ret)
+        if (sub_d->type == SWALLOW)
           ret = eina_list_append(ret, sub_d->obj);
      }
 

-- 


Reply via email to