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 1119bc0..9ac01a8 100644
--- a/tools/idevicebackup.c
+++ b/tools/idevicebackup.c
@@ -768,7 +768,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);