summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-05-12 09:58:03 +0000
committerJim Meyering <jim@meyering.net>2001-05-12 09:58:03 +0000
commitb2604c5d125b2489ee8ff677992af95e25fa6ecf (patch)
tree5e6feb482b426c2ad7a0fe6c12be4bc3877e9d46 /src
parentb489ba12d860e60b09800bb68e29130e4ced633e (diff)
downloadcoreutils-b2604c5d125b2489ee8ff677992af95e25fa6ecf.tar.xz
(copy_internal): Remove the code that tested for NULL
dir_name return value. That can't happen.
Diffstat (limited to 'src')
-rw-r--r--src/copy.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/copy.c b/src/copy.c
index 1f8c40a20..d0aad251b 100644
--- a/src/copy.c
+++ b/src/copy.c
@@ -937,8 +937,6 @@ copy_internal (const char *src_path, const char *dst_path,
int in_current_dir;
dst_parent = dir_name (dst_path);
- if (dst_parent == NULL)
- xalloc_die ();
in_current_dir = (STREQ (".", dst_parent)
/* If either stat call fails, it's ok not to report