summaryrefslogtreecommitdiff
path: root/src/copy.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-07-04 17:46:17 +0000
committerJim Meyering <jim@meyering.net>2004-07-04 17:46:17 +0000
commitaead5906dccb1740ed3fa2b89e09448542c89005 (patch)
tree065cd25126f0b05ad5d4b58cdbf23d629ed8830c /src/copy.c
parentd7da2ba95705fd517c6a7c3c9505f48aa14fa457 (diff)
downloadcoreutils-aead5906dccb1740ed3fa2b89e09448542c89005.tar.xz
(copy_dir): Assume path_concat returns non-NULL.
Diffstat (limited to 'src/copy.c')
-rw-r--r--src/copy.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/copy.c b/src/copy.c
index e912d43d5..dfdd15bbf 100644
--- a/src/copy.c
+++ b/src/copy.c
@@ -172,9 +172,6 @@ copy_dir (const char *src_path_in, const char *dst_path_in, int new_dst,
char *src_path = path_concat (src_path_in, namep, NULL);
char *dst_path = path_concat (dst_path_in, namep, NULL);
- if (dst_path == NULL || src_path == NULL)
- xalloc_die ();
-
ret |= copy_internal (src_path, dst_path, new_dst, src_sb->st_dev,
ancestors, &non_command_line_options, 0,
&local_copy_into_self, NULL);