Fix the coding rule 67/95867/1 accepted/tizen/ivi/20161108.001309 accepted/tizen/mobile/20161108.001222 accepted/tizen/tv/20161108.001238 accepted/tizen/wearable/20161108.001254 submit/tizen/20161107.085724
authorHyuk Lee <hyuk0512.lee@samsung.com>
Mon, 7 Nov 2016 04:11:06 +0000 (13:11 +0900)
committerHyuk Lee <hyuk0512.lee@samsung.com>
Mon, 7 Nov 2016 04:11:06 +0000 (13:11 +0900)
Change-Id: Ic791c687eb1a1f96f35d13658ae00e081d62751b
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
bt-share/src/bt-share-ipc.c
bt-share/src/bt-share-notification.c

index d01490a1bb7897c199b950680c7202a0cb60120d..7d0d9248f27f94f19efc79fefc43ad5e322a80fd 100644 (file)
@@ -612,7 +612,7 @@ void _bt_create_warning_popup(int error_type, char *msg)
                char str[BT_TEXT_LEN_MAX] = { 0, };
                bundle *b;
 
-               DBG("error_type: %d",error_type);
+               DBG("error_type: %d", error_type);
                switch (error_type) {
                case BLUETOOTH_ERROR_SERVICE_NOT_FOUND:
                case BLUETOOTH_ERROR_NOT_CONNECTED:
@@ -944,7 +944,7 @@ GDBusProxy *__bt_init_core_proxy(void)
 
 static GDBusProxy *__bt_get_core_proxy(void)
 {
-       return (core_proxy) ? core_proxy : __bt_init_core_proxy();
+       return (core_proxy) ? core_proxy : __bt_init_core_proxy();
 }
 
 int _bt_set_eventsystem_transfer_value(gboolean value)
index aac5dcf2d22ef21a3e7781f7eb133a62682ae480..92ae1c168f55c907596fe03078b6cca61ae3c8b4 100644 (file)
@@ -225,7 +225,7 @@ notification_h _bt_insert_notification(struct bt_appdata *ad, bt_notification_ty
 int _bt_update_notification(struct bt_appdata *ad, notification_h noti,
                                char *title, char *content, char *icon_path)
 {
-       retvm_if (!noti, BT_SHARE_FAIL, "noti is NULL");
+       retvm_if(!noti, BT_SHARE_FAIL, "noti is NULL");
 
        INFO("Update noti : %p", noti);
        notification_error_e ret = NOTIFICATION_ERROR_NONE;
@@ -423,7 +423,7 @@ gboolean _bt_update_notification_status(struct bt_appdata *ad)
        int priv_id = 0;
        int ret;
 
-       retv_if (ad == NULL, FALSE);
+       retv_if(ad == NULL, FALSE);
 
        /* When bt-share is launched, need to update notification status  */
 
@@ -494,7 +494,7 @@ static void __bt_notification_changed_cb(void *data, notification_type_e type, n
 {
        DBG("__bt_notification_changed_cb");
 
-       retm_if (data == NULL, "Invalid data");
+       retm_if(data == NULL, "Invalid data");
        struct bt_appdata *ad = (struct bt_appdata *)data;
        gboolean is_sent_noti_exist = FALSE;
        gboolean is_received_noti_exist = FALSE;
@@ -505,7 +505,7 @@ static void __bt_notification_changed_cb(void *data, notification_type_e type, n
        int priv_id;
        sqlite3 *db = NULL;
 
-       retm_if (op_list == NULL, "Invalid op_list");
+       retm_if(op_list == NULL, "Invalid op_list");
 
        if (type != NOTIFICATION_TYPE_NOTI ||
                (op_list->type != NOTIFICATION_OP_DELETE &&
@@ -516,7 +516,7 @@ static void __bt_notification_changed_cb(void *data, notification_type_e type, n
                return;
 
        noti_err = notification_get_list(type, -1, &noti_list);
-       ret_if (noti_err != NOTIFICATION_ERROR_NONE);
+       ret_if(noti_err != NOTIFICATION_ERROR_NONE);
 
        noti_list = notification_list_get_head(noti_list);
        while (noti_list) {