Remove unused afc_port_ variable

This commit is contained in:
Jonas Kvinge
2019-12-22 00:54:56 +01:00
parent bdc9f3e8bf
commit c6e172f942
2 changed files with 1 additions and 2 deletions

View File

@@ -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) {

View File

@@ -59,7 +59,6 @@ private:
idevice_t device_;
afc_client_t afc_;
uint16_t afc_port_;
};
#endif // IMOBILEDEVICECONNECTION_H