summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWooHyun Jung <wh0705.jung@samsung.com>2017-08-24 13:29:39 +0900
committerWooHyun Jung <wh0705.jung@samsung.com>2017-08-24 13:29:39 +0900
commit7738ba5b37fba00af765a6bd320dda3857828cf9 (patch)
tree1c4e53c585107e077d5ee80ec8d3aa1d3bef4923
parent95d0a85933986edebcd993ca5eabcacc9cdd32bf (diff)
elm_widget: remove redundant null check
-rw-r--r--src/lib/elementary/elm_widget.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/elementary/elm_widget.c b/src/lib/elementary/elm_widget.c
index 50a2e463a1..d9437e87e9 100644
--- a/src/lib/elementary/elm_widget.c
+++ b/src/lib/elementary/elm_widget.c
@@ -382,8 +382,7 @@ _logical_parent_eval(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *pd)
382 } 382 }
383 logical_wd->logical.child_count --; 383 logical_wd->logical.child_count --;
384 old = pd->logical.parent; 384 old = pd->logical.parent;
385 if (pd->logical.parent) 385 efl_weak_unref(&pd->logical.parent);
386 efl_weak_unref(&pd->logical.parent);
387 pd->logical.parent = NULL; 386 pd->logical.parent = NULL;
388 } 387 }
389 if (parent) 388 if (parent)