diff --git a/src/filemanager/file.c b/src/filemanager/file.c index 49c35a10b..4ffe9aeb4 100644 --- a/src/filemanager/file.c +++ b/src/filemanager/file.c @@ -1563,7 +1563,6 @@ do_move_dir_dir (const WPanel * panel, file_op_total_context_t * tctx, file_op_c gboolean move_over = FALSE; gboolean dstat_ok; vfs_path_t *src_vpath, *dst_vpath; - gboolean calc_total = FALSE; src_vpath = vfs_path_from_str (s); dst_vpath = vfs_path_from_str (d); @@ -1617,8 +1616,6 @@ do_move_dir_dir (const WPanel * panel, file_op_total_context_t * tctx, file_op_c FILEGUI_DIALOG_MULTI_ITEM); if (return_status != FILE_CONT) goto ret; - - calc_total = TRUE; } return_status = copy_dir_dir (tctx, ctx, s, d, FALSE, TRUE, TRUE, NULL); @@ -1665,7 +1662,7 @@ do_move_dir_dir (const WPanel * panel, file_op_total_context_t * tctx, file_op_c } /* Failed because of filesystem boundary -> copy dir instead */ - if (panel != NULL && !calc_total) + if (panel != NULL) { /* In case of single directory, calculate totals. In case of many directories, totals are calcuated already. */