summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/normal.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/normal.c b/src/normal.c
index 2db0b48..d7b1be1 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -289,7 +289,6 @@ const char* normal_check_product_type(struct idevicerestore_client_t* client) {
int normal_enter_recovery(struct idevicerestore_client_t* client) {
idevice_t device = NULL;
- irecv_client_t recovery = NULL;
lockdownd_client_t lockdown = NULL;
idevice_error_t device_error = IDEVICE_E_SUCCESS;
lockdownd_error_t lockdown_error = LOCKDOWN_E_SUCCESS;
@@ -326,7 +325,6 @@ int normal_enter_recovery(struct idevicerestore_client_t* client) {
}
client->mode = &idevicerestore_modes[MODE_RECOVERY];
- recovery = NULL;
return 0;
}