summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2014-01-07 16:23:23 +0100
committerGravatar Nikias Bassen2014-01-07 16:23:23 +0100
commit12020a32d9d2379f710e03cf615b9cf1bc0a8289 (patch)
tree9adf51b9d8bedb2b6267f313da9425fa8033dac0
parentca4de015503501358f881075d4c2185eab60a00b (diff)
downloadidevicerestore-12020a32d9d2379f710e03cf615b9cf1bc0a8289.tar.gz
idevicerestore-12020a32d9d2379f710e03cf615b9cf1bc0a8289.tar.bz2
normal: removed unused variable
-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;
}