Fix the build warnings and typo error
[platform/core/connectivity/bluetooth-frwk.git] / bt-oal / bluez_hal / src / bt-hal-gatt-server.c
index 0aaa3b9..913c7b8 100644 (file)
@@ -1318,7 +1318,7 @@ static void __bt_gatt_char_method_call(GDBusConnection *connection,
 
                                _bt_hal_convert_device_path_to_address(dev_path, addr);
 
-                               DBG("remote adress %s", addr);
+                               DBG("remote address %s", addr);
 
                                /* Check if device is already in connected list */
                                conn_info = __bt_find_remote_gatt_client_info(addr);
@@ -1366,8 +1366,6 @@ static void __bt_gatt_char_method_call(GDBusConnection *connection,
                                struct gatt_service_info *svc_info = NULL;
                                struct gatt_client_info_t *conn_info = NULL;
                                struct gatt_req_info *req_info = NULL;
-                               char * link = 0;
-                               int len = 0;
 
                                DBG("AcquireNotify");
                                DBG("Application path = %s", object_path);
@@ -3060,7 +3058,6 @@ static bt_status_t gatt_server_send_acquire_response(int conn_id, int trans_id,
 
        struct gatt_req_info *req_info = NULL;
        struct gatt_client_info_t *conn_info = NULL;
-       int i;
 
        DBG("GATT Server Send Response Conn ID [%d]", conn_id);