From e42eedf44ce60a891ff4c47e4d1a6e7142495f23 Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Tue, 8 Oct 2013 10:54:57 +0100 Subject: [PATCH] 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 --- legacy/elementary/src/lib/elm_layout.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/legacy/elementary/src/lib/elm_layout.c b/legacy/elementary/src/lib/elm_layout.c index d863260..23d4603 100644 --- a/legacy/elementary/src/lib/elm_layout.c +++ b/legacy/elementary/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); -- 2.7.4