Remove unused afc_port_ variable
This commit is contained in:
@@ -33,7 +33,7 @@
|
|||||||
#include "core/logging.h"
|
#include "core/logging.h"
|
||||||
#include "imobiledeviceconnection.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());
|
idevice_error_t err = idevice_new(&device_, uuid.toUtf8().constData());
|
||||||
if (err != IDEVICE_E_SUCCESS) {
|
if (err != IDEVICE_E_SUCCESS) {
|
||||||
|
|||||||
@@ -59,7 +59,6 @@ private:
|
|||||||
|
|
||||||
idevice_t device_;
|
idevice_t device_;
|
||||||
afc_client_t afc_;
|
afc_client_t afc_;
|
||||||
uint16_t afc_port_;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // IMOBILEDEVICECONNECTION_H
|
#endif // IMOBILEDEVICECONNECTION_H
|
||||||
|
|||||||
Reference in New Issue
Block a user