(do_copy): find_backup_file_name no longer returns NULL, so don't
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 27 Jul 2004 23:14:05 +0000 (23:14 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 27 Jul 2004 23:14:05 +0000 (23:14 +0000)
bother to check for this.

src/cp.c

index 9563b14..dee2f9a 100644 (file)
--- 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
        {