diff --git a/src/device/imobiledeviceconnection.cpp b/src/device/imobiledeviceconnection.cpp index cc47ce13b..bce77cf7b 100644 --- a/src/device/imobiledeviceconnection.cpp +++ b/src/device/imobiledeviceconnection.cpp @@ -33,7 +33,7 @@ #include "core/logging.h" #include "imobiledeviceconnection.h" -iMobileDeviceConnection::iMobileDeviceConnection(const QString &uuid) : device_(nullptr), afc_(nullptr), afc_port_(0) { +iMobileDeviceConnection::iMobileDeviceConnection(const QString &uuid) : device_(nullptr), afc_(nullptr) { idevice_error_t err = idevice_new(&device_, uuid.toUtf8().constData()); if (err != IDEVICE_E_SUCCESS) { diff --git a/src/device/imobiledeviceconnection.h b/src/device/imobiledeviceconnection.h index 957702f36..765dd4237 100644 --- a/src/device/imobiledeviceconnection.h +++ b/src/device/imobiledeviceconnection.h @@ -59,7 +59,6 @@ private: idevice_t device_; afc_client_t afc_; - uint16_t afc_port_; }; #endif // IMOBILEDEVICECONNECTION_H