summaryrefslogtreecommitdiffstats
path: root/src/restore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/restore.c')
-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");