summaryrefslogtreecommitdiffstats
path: root/src/limera1n.c
diff options
context:
space:
mode:
authorGravatar BALATON Zoltan2015-05-05 01:10:35 +0200
committerGravatar BALATON Zoltan2015-05-05 01:19:41 +0200
commite96e7dea1c2cd12ddb2679b7f91775c48aff4d11 (patch)
tree582fc533f3ae2e75c7df7819985be348ce3e37b9 /src/limera1n.c
parent5656ccf5cb0432f9ee7d1ed9fbeae7a43d5ad2dd (diff)
downloadidevicerestore-e96e7dea1c2cd12ddb2679b7f91775c48aff4d11.tar.gz
idevicerestore-e96e7dea1c2cd12ddb2679b7f91775c48aff4d11.tar.bz2
Fix some warnings
Diffstat (limited to 'src/limera1n.c')
-rw-r--r--src/limera1n.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/limera1n.c b/src/limera1n.c
index a716f24..1ec3661 100644
--- a/src/limera1n.c
+++ b/src/limera1n.c
@@ -55,7 +55,6 @@ int limera1n_exploit(struct irecv_device *device, irecv_client_t *pclient)
//unsigned int load_address = 0x84000000;
unsigned int stack_address = 0;
unsigned int shellcode_address = 0;
- unsigned int shellcode_length = 0;
irecv_device_t iphone4 = NULL;
irecv_device_t iphone3gs = NULL;
@@ -84,7 +83,6 @@ int limera1n_exploit(struct irecv_device *device, irecv_client_t *pclient)
}
memset(shellcode, 0x0, 0x800);
- shellcode_length = sizeof(limera1n_payload);
memcpy(shellcode, limera1n_payload, sizeof(limera1n_payload));
irecv_client_t client = *pclient;