summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/idevicebackup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/idevicebackup.c b/tools/idevicebackup.c
index c5c5b37..c0b1645 100644
--- a/tools/idevicebackup.c
+++ b/tools/idevicebackup.c
@@ -1033,7 +1033,7 @@ int main(int argc, char *argv[])
/* save <hash>.mddata */
node = plist_dict_get_item(node_tmp, "BackupFileInfo");
- if (node_tmp && file_path) {
+ if (node_tmp) {
node = plist_dict_get_item(node_tmp, "DLFileDest");
plist_get_string_val(node, &file_path);