kill warning about ignored return

This commit is contained in:
Andy Williams 2014-05-18 22:59:17 +01:00
parent 5b594d9481
commit 43871e9a0c
2 changed files with 6 additions and 7 deletions

View File

@ -264,7 +264,6 @@ _ls_main_cb(void *data,
const Eina_File_Direct_Info *info)
{
Listing_Request *lreq = data;
Elm_Object_Item *item;
Elm_Genlist_Item_Class *clas = &itc;
const char *path;
@ -284,7 +283,7 @@ _ls_main_cb(void *data,
}
path = eina_stringshare_add(info->path);
item = elm_genlist_item_sorted_insert(list, clas, path, lreq->parent_it,
(void)!elm_genlist_item_sorted_insert(list, clas, path, lreq->parent_it,
(clas == &itc2) ? ELM_GENLIST_ITEM_TREE : ELM_GENLIST_ITEM_NONE,
_file_list_cmp, _item_sel, path);
}

View File

@ -160,11 +160,11 @@ EAPI Evas_Object *edi_editor_add(Evas_Object *parent, const char *path)
alt = evas_key_modifier_mask_get(e, "Alt");
shift = evas_key_modifier_mask_get(e, "Shift");
evas_object_key_grab(txt, "Prior", ctrl, shift | alt, 1);
evas_object_key_grab(txt, "Next", ctrl, shift | alt, 1);
evas_object_key_grab(txt, "s", ctrl, shift | alt, 1);
evas_object_key_grab(txt, "f", ctrl, shift | alt, 1);
evas_object_key_grab(txt, "z", ctrl, shift | alt, 1);
(void)!evas_object_key_grab(txt, "Prior", ctrl, shift | alt, 1);
(void)!evas_object_key_grab(txt, "Next", ctrl, shift | alt, 1);
(void)!evas_object_key_grab(txt, "s", ctrl, shift | alt, 1);
(void)!evas_object_key_grab(txt, "f", ctrl, shift | alt, 1);
(void)!evas_object_key_grab(txt, "z", ctrl, shift | alt, 1);
return txt;
}