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:
parent
2eb46302a2
commit
20333c7905
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue