From c6e172f942c6fcd794e716c5f34c9daf069cdc0d Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Sun, 22 Dec 2019 00:54:56 +0100 Subject: [PATCH] Remove unused afc_port_ variable --- src/device/imobiledeviceconnection.cpp | 2 +- src/device/imobiledeviceconnection.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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