popup: fix build warning 12/140212/2
authorJinYong Park <j4939.park@samsung.com>
Mon, 24 Jul 2017 07:20:55 +0000 (16:20 +0900)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Mon, 24 Jul 2017 07:57:56 +0000 (07:57 +0000)
This warning is not occur in upstream

Change-Id: Iccf8be67a6ae736789352861a5139583f2f062a0
Signed-off-by: JInyong Park <j4939.park@samsung.com>
src/bin/test_popup.c
src/lib/elc_ctxpopup.c

index bfd17adefe986befb7a38fd469fe2f105dca4f54..173b1bf555f64fcfbfa6793e158d75a4e4e08c24 100644 (file)
@@ -624,7 +624,7 @@ gl_popup_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part EIN
 }
 
 static void
-_delete_btn_clicked(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
+_delete_btn_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
 {
    elm_object_content_set(data, NULL);
 }
index 988f44527aa07aed085d807a509dfb9bd3c1fd94..729426e4aef9449a062a7761e50c62b3b8cfee1a 100644 (file)
@@ -1784,7 +1784,6 @@ EOLIAN const char *
 _elm_ctxpopup_item_elm_interface_atspi_accessible_name_get(Eo *eo_it, Elm_Ctxpopup_Item_Data *item)
 {
    const char *accessible_name = NULL;
-   char *utf8_text = NULL;
    eo_do_super(eo_it, ELM_CTXPOPUP_ITEM_CLASS, accessible_name = (char *)elm_interface_atspi_accessible_name_get());
    if (accessible_name) return accessible_name;