fix prevent bug
authordavid8.kim <david8.kim@samsung.com>
Mon, 28 Jan 2013 00:56:56 +0000 (09:56 +0900)
committerdavid8.kim <david8.kim@samsung.com>
Mon, 28 Jan 2013 00:56:56 +0000 (09:56 +0900)
mailbox/src/email-mailbox-controlbar.c

index 57fbecb..7963b70 100755 (executable)
@@ -1295,7 +1295,6 @@ static void _create_mailbox_list_popup_cb(void *data, MailboxPopupType popup_typ
        Evas_Object *popup;
        int index = 0;
        int max_item_cnt = 0;
-       Elm_Object_Item *item;
        Evas_Object *btn1;
        EmailMailboxUGD *mailbox_ugd = (EmailMailboxUGD *)data;
 
@@ -1336,7 +1335,7 @@ static void _create_mailbox_list_popup_cb(void *data, MailboxPopupType popup_typ
                        snprintf(buf, sizeof(buf), "Unfavourites");
                        break;
                }
-               item = elm_popup_item_append(popup, buf, NULL, _mailbox_list_popup_item_selected_cb, data);
+               elm_popup_item_append(popup, buf, NULL, _mailbox_list_popup_item_selected_cb, data);
                debug_log("buf : %s index : %d", buf, index);
        }