Fix Build Warning 56/78556/2 accepted/tizen/common/20160706.142410 accepted/tizen/mobile/20160706.083125 accepted/tizen/wearable/20160706.083118 submit/tizen/20160706.060502
authorJihoon Jung <jh8801.jung@samsung.com>
Wed, 6 Jul 2016 05:32:07 +0000 (14:32 +0900)
committerJihoon Jung <jh8801.jung@samsung.com>
Wed, 6 Jul 2016 05:56:18 +0000 (14:56 +0900)
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Change-Id: Id57f8f6a9ff7205f5700e1d9d7e6198c09804f2c

wearable/CMakeLists.txt
wearable/app/src/nsa-main.c
wearable/app/src/nsa-view-main.c

index fd4ca87486a01e5135b9f3abedf63be3c396573c..7b5183036e15a0729ad4bfc3645ac5700b93a19f 100755 (executable)
@@ -29,7 +29,7 @@ ADD_DEFINITIONS("-DNSA_LOG_LEVEL_2")
 #--------------------------------
 
 SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror-implicit-function-declaration")
-SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
+SET(CMAKE_C_FLAGS_DEBUG "-O2 -g")
 SET(CMAKE_C_FLAGS_RELEASE "-O2")
 
 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/org.tizen.nfc-setting-app.xml DESTINATION /usr/share/packages/)
index 95416ef45e5b401dc95bac5aa3bdde769a9fa674..c9136fad1b85b83d8027c1e98529ff879670a9cd 100755 (executable)
@@ -27,7 +27,7 @@
 #include "nsa-ui-widget.h"
 #include "nsa-popup.h"
 
-static Eina_Bool __back_clicked_cb(void *data, Evas *evas, Evas_Object *obj, void *event_info)
+static void __back_clicked_cb(void *data, Evas_Object *obj, void *event_info)
 {
        appdata *ad = data;
        NSA_DEBUG_ERR("back click cb : view depth is %d", ad->current_view);
@@ -67,8 +67,6 @@ static Eina_Bool __back_clicked_cb(void *data, Evas *evas, Evas_Object *obj, voi
 
                ui_app_exit();
        }
-
-       return EINA_FALSE;
 }
 
 bool _nsa_main_app_create(void *user_data)
index 80523a19a02df5f3b69b268d2082ccec066ef1cf..2bc5c53e88aef45a7c83d4996f74bb3e23b49794 100755 (executable)
@@ -287,7 +287,6 @@ static void __payment_handler_vconf_key_changed (keynode_t *key,
 bool _nsa_view_main_create(void *data)
 {
        appdata *ad = data;
-       Evas_Object *genlist;
        retv_if(ad == NULL, false);
 
        /* Draw UI */