Fix build warning
[platform/core/uifw/inputdelegator.git] / src / w-input-selector.cpp
index 0bfbeff..05afb39 100755 (executable)
@@ -843,7 +843,6 @@ unsigned int _update_smartreply_items(void *user_data)
        App_Data* app_data;
 
        Elm_Object_Item *first;
-       Elm_Object_Item *menu;
 
        unsigned int i = 0;
        unsigned int len = 0;
@@ -864,7 +863,7 @@ unsigned int _update_smartreply_items(void *user_data)
 
        /* Move to smartreply */
        first = elm_genlist_first_item_get(app_data->genlist);
-       menu = elm_genlist_item_next_get(first);
+       elm_genlist_item_next_get(first);
 
        if (input_smartreply_is_enabled() == false)
                return item_size;
@@ -885,7 +884,7 @@ unsigned int _update_smartreply_items(void *user_data)
                itc->func.del = NULL;
 
                for (i = 0; i < len; i++) {
-                       char *reply = "hello";
+                       char *reply = (char *)"hello";
                        unsigned int j;
                        bool matched;