summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2010-11-28 15:51:55 +0100
committerGravatar Martin Szulecki2011-04-11 19:42:18 +0200
commit5efbd488e0d906de2dbb997f8345876fdc5265f3 (patch)
tree3d611d7405291a9f2c7ba821c4411adc19ec590c
parent336e090a48815e92844c2f1d3acfc4992a8ee5fb (diff)
downloadlibimobiledevice-5efbd488e0d906de2dbb997f8345876fdc5265f3.tar.gz
libimobiledevice-5efbd488e0d906de2dbb997f8345876fdc5265f3.tar.bz2
idevicebackup4: remove unused manifest_path variable
-rw-r--r--tools/idevicebackup4.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/tools/idevicebackup4.c b/tools/idevicebackup4.c
index aaf5fcb..ae63feb 100644
--- a/tools/idevicebackup4.c
+++ b/tools/idevicebackup4.c
@@ -1194,7 +1194,6 @@ int main(int argc, char *argv[])
//enum device_link_file_status_t file_status = DEVICE_LINK_FILE_STATUS_NONE;
// uint64_t c = 0;
mobilebackup2_error_t err;
- char *manifest_path = NULL;
/* we need to exit cleanly on running backups and restores or we cause havok */
signal(SIGINT, clean_exit);
@@ -1413,9 +1412,6 @@ int main(int argc, char *argv[])
}
}
- /* Manifest.plist (backup manifest (backup state)) */
- manifest_path = g_build_path(G_DIR_SEPARATOR_S, backup_directory, uuid, "Manifest.plist", NULL);
-
checkpoint:
switch(cmd) {
@@ -1834,8 +1830,6 @@ files_out:
//mobilebackup_send_error(mobilebackup, "Cancelling DLSendFile");
/* remove any atomic Manifest.plist.tmp */
- if (manifest_path)
- g_free(manifest_path);
/*manifest_path = mobilebackup_build_path(backup_directory, "Manifest", ".plist.tmp");
if (stat(manifest_path, &st) == 0)
@@ -1895,8 +1889,6 @@ files_out:
lockfile = 0;
do_post_notification(NP_SYNC_DID_FINISH);
}
- if (manifest_path)
- g_free(manifest_path);
} else {
printf("ERROR: Could not start service %s.\n", MOBILEBACKUP2_SERVICE_NAME);
lockdownd_client_free(client);