Fix Svace issue 31/90031/1 accepted/tizen/3.0/mobile/20161015.034405 accepted/tizen/3.0/wearable/20161015.084434 accepted/tizen/common/20160928.164243 accepted/tizen/mobile/20160929.001842 accepted/tizen/wearable/20160929.001958 submit/tizen/20160928.055108 submit/tizen_3.0_mobile/20161015.000007 submit/tizen_3.0_wearable/20161015.000006
authorJihoon Jung <jh8801.jung@samsung.com>
Wed, 28 Sep 2016 05:40:21 +0000 (14:40 +0900)
committerJihoon Jung <jh8801.jung@samsung.com>
Wed, 28 Sep 2016 05:40:54 +0000 (14:40 +0900)
- ID : 108044

Change-Id: I35e4174070ec88e1ee9ffee2a7f3e36d91149a66

wearable/app/src/nsa-main.c

index 30ccae7..9371d39 100755 (executable)
@@ -112,27 +112,27 @@ void _nsa_main_app_service(app_control_h service, void *user_data)
 
        /* create window */
        ad->main_win = nsa_create_main_win(APPNAME);
-       retv_if(ad->main_win == NULL, false);
+       ret_if(ad->main_win == NULL);
 
        /* create conformant */
        ad->conform = nsa_create_conformant(ad->main_win);
-       retv_if(ad->conform == NULL, false);
+       ret_if(ad->conform == NULL);
 
        /* create circle surface */
        ad->circle_surface = eext_circle_surface_conformant_add(ad->conform);
-       retv_if(ad->circle_surface == NULL, false);
+       ret_if(ad->circle_surface == NULL);
 
        /* create bg */
        ad->main_bg = nsa_create_bg(ad->conform);
-       retv_if(ad->main_bg == NULL, false);
+       ret_if(ad->main_bg == NULL);
 
        /* create base layout */
        ad->main_layout = nsa_create_main_layout(ad->conform);
-       retv_if(ad->main_layout == NULL, false);
+       ret_if(ad->main_layout == NULL);
 
        /* create naviframe */
        ad->navi_frame = elm_naviframe_add(ad->main_layout);
-       retv_if(ad->navi_frame == NULL, false);
+       ret_if(ad->navi_frame == NULL);
 
        elm_object_part_content_set(ad->main_layout, "elm.swallow.content", ad->navi_frame);
        eext_object_event_callback_add(ad->navi_frame, EEXT_CALLBACK_BACK, __back_clicked_cb, ad);