From aead5906dccb1740ed3fa2b89e09448542c89005 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 4 Jul 2004 17:46:17 +0000 Subject: [PATCH] (copy_dir): Assume path_concat returns non-NULL. --- src/copy.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/copy.c b/src/copy.c index e912d43d58..dfdd15bbf6 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); -- 2.47.2