diff options
author | Jihoon Kim <jihoon48.kim@samsung.com> | 2018-12-18 17:03:08 +0900 |
---|---|---|
committer | Jihoon Kim <jihoon48.kim@samsung.com> | 2018-12-19 16:13:19 +0900 |
commit | 4ece60a2dbd7b45160694f0558c4d4816820996b (patch) | |
tree | 97c1aa3714708e86c34d6b8a07b90a3dd707ec3a | |
parent | 13a4f180ee66e07c537c15fbad5c37514e8437fd (diff) | |
download | autofill-setting-4ece60a2dbd7b45160694f0558c4d4816820996b.tar.gz autofill-setting-4ece60a2dbd7b45160694f0558c4d4816820996b.tar.bz2 autofill-setting-4ece60a2dbd7b45160694f0558c4d4816820996b.zip |
Remove unused code
Change-Id: I734cc228110d24e98f3f7b50a90c4165f81ab689
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
-rw-r--r-- | src/autofill_setting_list_ui.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/autofill_setting_list_ui.cpp b/src/autofill_setting_list_ui.cpp index d1c928c..585ff56 100644 --- a/src/autofill_setting_list_ui.cpp +++ b/src/autofill_setting_list_ui.cpp @@ -38,23 +38,12 @@ static Evas_Object *group_radio = NULL; static autofill_manager_h g_amh = NULL; -typedef struct list_item_text_s -{ - char main_text[255]; - char sub_text[255]; -} list_item_text; - typedef struct popup_cb_data_s { Evas_Object *popup; void *data; } popup_cb_data; -typedef struct gen_item_data_s -{ - Elm_Object_Item *gen_item; -} gen_item_data; - typedef struct _Item_Data { int index; @@ -77,8 +66,6 @@ static std::vector<autofill_info_s> g_autofill_list; static Elm_Genlist_Item_Class *itc_autofill_list = NULL; static Elm_Genlist_Item_Class *itc_autofill_list_title = NULL; static int g_active_autofill_service_index = -1; -static list_item_text item_text[2]; -static std::vector<gen_item_data> g_gen_item_data; static package_manager_h pkgmgr = NULL; void autofill_setting_list_update_window(void *data); @@ -518,8 +505,6 @@ static void autofill_setting_list_add_autofill_service(void *data) { elm_genlist_item_append(ad->genlist, itc_autofill_list_title, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL); #endif - memset(&item_text, 0, sizeof(item_text)); - #ifndef _MOBILE if (ad->app_type == APP_TYPE_NORMAL) #endif @@ -529,9 +514,6 @@ static void autofill_setting_list_add_autofill_service(void *data) { /* autofill service list */ int info_list_size = g_autofill_list.size(); for (int i = 0; i < info_list_size; i++) { - gen_item_data item_data; - g_gen_item_data.push_back(item_data); - id = (Item_Data *)calloc(sizeof(Item_Data), 1); if (id) { id->index = i; @@ -543,8 +525,6 @@ static void autofill_setting_list_add_autofill_service(void *data) { ELM_GENLIST_ITEM_NONE, autofill_setting_list_item_sel_cb, (void *)(unsigned long int)(i)); - - g_gen_item_data[i].gen_item = id->item; } } elm_radio_state_value_set(group_radio, g_active_autofill_service_index); @@ -636,7 +616,6 @@ Evas_Object *autofill_setting_list_list_create(void *data) void autofill_setting_list_app_terminate(void *data) { g_autofill_list.clear(); - g_gen_item_data.clear(); if (NULL != itc_autofill_list) { elm_genlist_item_class_free(itc_autofill_list); |