forked from enlightenment/efl
elm_widget: remove redundant null check
This commit is contained in:
parent
95d0a85933
commit
7738ba5b37
|
@ -382,7 +382,6 @@ _logical_parent_eval(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *pd)
|
||||||
}
|
}
|
||||||
logical_wd->logical.child_count --;
|
logical_wd->logical.child_count --;
|
||||||
old = pd->logical.parent;
|
old = pd->logical.parent;
|
||||||
if (pd->logical.parent)
|
|
||||||
efl_weak_unref(&pd->logical.parent);
|
efl_weak_unref(&pd->logical.parent);
|
||||||
pd->logical.parent = NULL;
|
pd->logical.parent = NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue