elm code - remove unneded extra check from copy and pasta it seems

extra check already done in if above - no need. looks like copy &
paste of the checks from above thus why it's there, but not needed.
not a bug, byt analysers dont like it so remove

found by PVS studio
This commit is contained in:
Carsten Haitzler 2017-07-29 10:48:06 +09:00
parent 2eb46302a2
commit 20333c7905
1 changed files with 3 additions and 4 deletions

View File

@ -891,10 +891,9 @@ _popup_menu_show(Evas_Object *obj, Evas_Coord x, Evas_Coord y)
{
if (pd->editable)
{
if (pd->editable)
elm_hoversel_item_add
(pd->hoversel, "Paste", NULL, ELM_ICON_NONE,
_popup_menu_paste_cb, obj);
elm_hoversel_item_add
(pd->hoversel, "Paste", NULL, ELM_ICON_NONE,
_popup_menu_paste_cb, obj);
}
else