From bccb637758452b1850d303886b14de4d57a2be92 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sun, 1 Dec 2013 21:15:17 +0100 Subject: dfu: remove some unused variables --- src/dfu.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/dfu.c b/src/dfu.c index 3bdd419..5f7ad03 100644 --- a/src/dfu.c +++ b/src/dfu.c @@ -161,7 +161,6 @@ int dfu_send_component(struct idevicerestore_client_t* client, plist_t build_ide uint32_t size = 0; unsigned char* data = NULL; char* path = NULL; - unsigned char* blob = NULL; irecv_error_t err = 0; int flag = 1; @@ -235,8 +234,6 @@ int dfu_send_component(struct idevicerestore_client_t* client, plist_t build_ide } int dfu_get_cpid(struct idevicerestore_client_t* client, unsigned int* cpid) { - irecv_error_t dfu_error = IRECV_E_SUCCESS; - if(client->dfu == NULL) { if (dfu_client_new(client) < 0) { return -1; @@ -254,8 +251,6 @@ int dfu_get_cpid(struct idevicerestore_client_t* client, unsigned int* cpid) { } int dfu_get_ecid(struct idevicerestore_client_t* client, uint64_t* ecid) { - irecv_error_t recovery_error = IRECV_E_SUCCESS; - if(client->dfu == NULL) { if (dfu_client_new(client) < 0) { return -1; @@ -289,8 +284,6 @@ int dfu_is_image4_supported(struct idevicerestore_client_t* client) } int dfu_get_ap_nonce(struct idevicerestore_client_t* client, unsigned char** nonce, int* nonce_size) { - irecv_error_t dfu_error = IRECV_E_SUCCESS; - if(client->dfu == NULL) { if (dfu_client_new(client) < 0) { return -1; @@ -315,8 +308,6 @@ int dfu_get_ap_nonce(struct idevicerestore_client_t* client, unsigned char** non } int dfu_get_sep_nonce(struct idevicerestore_client_t* client, unsigned char** nonce, int* nonce_size) { - irecv_error_t dfu_error = IRECV_E_SUCCESS; - if(client->dfu == NULL) { if (dfu_client_new(client) < 0) { return -1; -- cgit v1.1-32-gdbae