summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJihoon Jung <jh8801.jung@samsung.com>2016-07-06 14:32:07 +0900
committerJihoon Jung <jh8801.jung@samsung.com>2016-07-06 14:56:18 +0900
commite1f87eec86416b60a9ff47081496ea0c27d786b8 (patch)
treebe409daca2de3bf4218645c0f1ce6be7e6bb5265
parent5ecc89f0baed31d452e402d08225254960ef08fa (diff)
downloadug-nfc-efl-e1f87eec86416b60a9ff47081496ea0c27d786b8.tar.gz
ug-nfc-efl-e1f87eec86416b60a9ff47081496ea0c27d786b8.tar.bz2
ug-nfc-efl-e1f87eec86416b60a9ff47081496ea0c27d786b8.zip
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com> Change-Id: Id57f8f6a9ff7205f5700e1d9d7e6198c09804f2c
-rwxr-xr-xwearable/CMakeLists.txt2
-rwxr-xr-xwearable/app/src/nsa-main.c4
-rwxr-xr-xwearable/app/src/nsa-view-main.c1
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 */