summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-01-11 03:46:05 +0100
committerGravatar Nikias Bassen2013-01-11 03:46:05 +0100
commit36b0410da76d6c9b3a22d2a5e91e4a8292a34f95 (patch)
treeb101a60ce2e35207ebcade9e1af50a6892174ce6 /src
parentb4fcb98f52aee850faa22654f10caf62912ecf0c (diff)
downloadidevicerestore-36b0410da76d6c9b3a22d2a5e91e4a8292a34f95.tar.gz
idevicerestore-36b0410da76d6c9b3a22d2a5e91e4a8292a34f95.tar.bz2
restore: remove unused variable
Diffstat (limited to 'src')
-rw-r--r--src/restore.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/restore.c b/src/restore.c
index 720c149..3f93ae0 100644
--- a/src/restore.c
+++ b/src/restore.c
@@ -217,9 +217,6 @@ int restore_check_device(struct idevicerestore_client_t* client) {
}
if (client->srnm == NULL) {
- char snbuf[256];
- snbuf[0] = '\0';
-
restore_error = restored_get_value(restore, "SerialNumber", &node);
if (restore_error != RESTORE_E_SUCCESS || !node || plist_get_node_type(node) != PLIST_STRING) {
error("ERROR: Unable to get SerialNumber from restored\n");