Add the coverage exception for internal function 90/265390/1
authordh79pyun <dh79.pyun@samsung.com>
Mon, 18 Oct 2021 05:09:21 +0000 (14:09 +0900)
committerdh79pyun <dh79.pyun@samsung.com>
Mon, 18 Oct 2021 05:09:21 +0000 (14:09 +0900)
Change-Id: I3bfefd0ed1b17e9e20eaf3a68b30e0a44228913c
Signed-off-by: dh79pyun <dh79.pyun@samsung.com>
src/bluetooth-gatt.c

index 5ac2bef..b75b5d4 100644 (file)
@@ -2851,6 +2851,7 @@ int bt_gatt_server_set_characteristic_notification_state_change_cb(bt_gatt_h gat
        return BT_ERROR_NONE;
 } /* LCOV_EXCL_STOP */
 
+/* LCOV_EXCL_START */
 int bt_gatt_server_set_characteristic_notif_state_change_cb(bt_gatt_h gatt_handle,
                        bt_gatt_server_characteristic_notif_state_changed_cb callback,
                        void *user_data)
@@ -2865,11 +2866,12 @@ int bt_gatt_server_set_characteristic_notif_state_change_cb(bt_gatt_h gatt_handl
 
        BT_VALIDATE_GATT_HANDLE(gatt_handle);
 
-       chr->notif_changed_cb = callback; /* LCOV_EXCL_START */
+       chr->notif_changed_cb = callback;
        chr->notif_changed_user_data = user_data;
 
        return BT_ERROR_NONE;
-} /* LCOV_EXCL_STOP */
+}
+/* LCOV_EXCL_STOP */
 
 #ifdef TIZEN_FEATURE_GATT_RELAY
 /* LCOV_EXCL_START */