stefan pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=868d7cfb4c17e31b5d1e4dbf0b6cb5ae68e40ae4

commit 868d7cfb4c17e31b5d1e4dbf0b6cb5ae68e40ae4
Author: Stefan Schmidt <s.schm...@samsung.com>
Date:   Tue Oct 8 10:54:57 2013 +0100

    elm_layout: Remove now superfluous NULL check.
    
    After switching to ELM_WIDGET_DATA_GET_OR_RETURN this NULL check is no
    longer needed.
    
    CID: 1102552
---
 src/lib/elm_layout.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/lib/elm_layout.c b/src/lib/elm_layout.c
index d863260..23d4603 100644
--- a/src/lib/elm_layout.c
+++ b/src/lib/elm_layout.c
@@ -2147,8 +2147,6 @@ _dbg_info_get(Eo *eo_obj, void *_pd EINA_UNUSED, va_list 
*list)
    eo_do_super(eo_obj, MY_CLASS, eo_dbg_info_get(root));
    ELM_WIDGET_DATA_GET_OR_RETURN(eo_obj, wd);
 
-   if (!wd) return;
-
    if (eo_isa(wd->resize_obj, EDJE_OBJ_CLASS))
      {
         Eo_Dbg_Info *group = EO_DBG_INFO_LIST_APPEND(root, MY_CLASS_NAME);

-- 


Reply via email to