diff options
-rwxr-xr-x | wearable/CMakeLists.txt | 2 | ||||
-rwxr-xr-x | wearable/app/src/nsa-main.c | 4 | ||||
-rwxr-xr-x | wearable/app/src/nsa-view-main.c | 1 |
3 files changed, 2 insertions, 5 deletions
diff --git a/wearable/CMakeLists.txt b/wearable/CMakeLists.txt index fd4ca87..7b51830 100755 --- a/wearable/CMakeLists.txt +++ b/wearable/CMakeLists.txt @@ -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/) diff --git a/wearable/app/src/nsa-main.c b/wearable/app/src/nsa-main.c index 95416ef..c9136fa 100755 --- a/wearable/app/src/nsa-main.c +++ b/wearable/app/src/nsa-main.c @@ -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) diff --git a/wearable/app/src/nsa-view-main.c b/wearable/app/src/nsa-view-main.c index 80523a1..2bc5c53 100755 --- a/wearable/app/src/nsa-view-main.c +++ b/wearable/app/src/nsa-view-main.c @@ -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 */ |