Remove unused variables 46/146446/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Tue, 29 Aug 2017 01:10:26 +0000 (10:10 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Tue, 29 Aug 2017 01:10:26 +0000 (10:10 +0900)
Change-Id: I9227819101e8f3a6330092080b9160a044e099c1
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/w-input-selector.cpp
src/w-input-smartreply.cpp

index 8646781..d72a097 100755 (executable)
@@ -210,7 +210,6 @@ static void _keyboard_clicked_cb(void *data, Evas_Object * obj, void *event_info
 
 static void __ise_smartreply_gl_sel(void *data, Evas_Object *obj, void *event_info)
 {
-       App_Data* app_data = (App_Data*) data;
        Elm_Object_Item *item = (Elm_Object_Item *) event_info;
 
        if (item) {
@@ -842,7 +841,6 @@ unsigned int _update_smartreply_items(void *user_data)
 
        Elm_Object_Item *first;
        Elm_Object_Item *menu;
-       Elm_Object_Item *pos;
 
        unsigned int i = 0;
        unsigned int len = 0;
@@ -883,8 +881,6 @@ unsigned int _update_smartreply_items(void *user_data)
                itc->func.state_get = NULL;
                itc->func.del = NULL;
 
-               pos = menu;
-
                for (i = 0; i < len; i++) {
                        char *reply = "hello";
                        unsigned int j;
@@ -898,7 +894,6 @@ unsigned int _update_smartreply_items(void *user_data)
                                continue;
                        PRINTFUNC(DLOG_DEBUG, "SmartReply = [%d]%s", i, reply);
 
-
                        for (j = 0; j < template_list.size(); j++) {
                                const char *template_str;
 
@@ -916,7 +911,7 @@ unsigned int _update_smartreply_items(void *user_data)
                        if (matched == true)
                                continue;
 
-                       pos = elm_genlist_item_append(app_data->genlist,
+                       elm_genlist_item_append(app_data->genlist,
                                                itc,
                                                (void *)(uintptr_t)i,
                                                NULL,
index 3a0624a..aa1f5e6 100644 (file)
@@ -317,8 +317,6 @@ bool input_smartreply_get_reply(void)
 
 bool input_smartreply_get_reply_async(void)
 {
-    int ret;
-
        if (g_input_smartreply_data == NULL) {
                PRINTFUNC(DLOG_ERROR, "InputSmartreplyData uninitialized");
                return false;
@@ -334,7 +332,7 @@ bool input_smartreply_get_reply_async(void)
                return false;
        }
 
-       ret = smartreply_service_get_replies_async(g_input_smartreply_data->caller_id,
+       smartreply_service_get_replies_async(g_input_smartreply_data->caller_id,
                                        g_input_smartreply_data->sender,
                                        g_input_smartreply_data->message,
                                        _input_smartreply_get_reply_callback);