From: Wootak Jung Date: Mon, 18 Sep 2023 07:14:45 +0000 (+0900) Subject: Fix build error X-Git-Tag: accepted/tizen/8.0/unified/20231005.093200 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2Faccepted%2Ftizen%2F8.0%2Funified%2F20231005.093200;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-frwk.git Fix build error Change-Id: I13e1794f9dba5db1854949d5e92b67372435682c Signed-off-by: Wootak Jung --- diff --git a/bt-service/services/gatt/bt-service-gatt.c b/bt-service/services/gatt/bt-service-gatt.c index 65e2605..d269975 100644 --- a/bt-service/services/gatt/bt-service-gatt.c +++ b/bt-service/services/gatt/bt-service-gatt.c @@ -3258,7 +3258,7 @@ int _bt_gatt_server_set_phy(bluetooth_device_address_t *device_address, { struct gatt_client_info_t *conn_info = NULL; char *addr = NULL; - int ret = OAL_STATUS_SUCCESS; + //int ret = OAL_STATUS_SUCCESS; BT_INFO("Setting Preferred PHY"); addr = g_malloc0(sizeof(char) * BT_ADDRESS_STRING_SIZE); @@ -3287,7 +3287,7 @@ int _bt_gatt_server_set_phy(bluetooth_device_address_t *device_address, int _bt_gatt_server_read_phy(bluetooth_device_address_t *address) { struct gatt_client_info_t *conn_info = NULL; - int ret = OAL_STATUS_SUCCESS; + //int ret = OAL_STATUS_SUCCESS; char *addr = NULL; BT_CHECK_PARAMETER(address, return); @@ -3322,7 +3322,7 @@ int _bt_gatt_client_set_phy(bluetooth_device_address_t *device_address, { struct gatt_server_info_t *conn_info = NULL; char *addr = NULL; - int ret = OAL_STATUS_SUCCESS; + //int ret = OAL_STATUS_SUCCESS; BT_INFO("Setting Preferred PHY"); addr = g_malloc0(sizeof(char) * BT_ADDRESS_STRING_SIZE); @@ -3351,7 +3351,7 @@ int _bt_gatt_client_set_phy(bluetooth_device_address_t *device_address, int _bt_gatt_client_read_phy(bluetooth_device_address_t *address) { struct gatt_server_info_t *conn_info = NULL; - int ret = OAL_STATUS_SUCCESS; + //int ret = OAL_STATUS_SUCCESS; char *addr = NULL; BT_CHECK_PARAMETER(address, return);