summaryrefslogtreecommitdiff
path: root/src/cp.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-07-27 23:14:05 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-07-27 23:14:05 +0000
commit53b24fa527fdedcb337a9cc59eb7fbcff5a2fc84 (patch)
tree9930206e7cc913ab45d0a298bb3bbc289cf995cb /src/cp.c
parentc3d37adf6de1791e9e6c46ddd31b31cf24e0ffc2 (diff)
downloadcoreutils-53b24fa527fdedcb337a9cc59eb7fbcff5a2fc84.tar.xz
(do_copy): find_backup_file_name no longer returns NULL, so don't
bother to check for this.
Diffstat (limited to 'src/cp.c')
-rw-r--r--src/cp.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/cp.c b/src/cp.c
index 9563b149f..dee2f9ad8 100644
--- a/src/cp.c
+++ b/src/cp.c
@@ -663,9 +663,6 @@ do_copy (int n_files, char **file, const char *target_directory,
x_tmp = *x;
x_tmp.backup_type = none;
x = &x_tmp;
-
- if (new_dest == NULL)
- xalloc_die ();
}
else
{