From: Jim Meyering Date: Mon, 25 Dec 2000 18:35:16 +0000 (+0000) Subject: (same_file_ok): Remove declaration and set of unused X-Git-Tag: FILEUTILS-4_0_35~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0f4de827492ad7a93f879bab6dda1d2e6ca2b6a3;p=thirdparty%2Fcoreutils.git (same_file_ok): Remove declaration and set of unused variables: src_sb_no_link, dst_sb_no_link. --- diff --git a/src/copy.c b/src/copy.c index 75046b4d7b..bd8a224f33 100644 --- a/src/copy.c +++ b/src/copy.c @@ -392,8 +392,6 @@ same_file_ok (const char *src_path, const struct stat *src_sb, { const struct stat *src_sb_link; const struct stat *dst_sb_link; - const struct stat *src_sb_no_link; - const struct stat *dst_sb_no_link; int same_link; int same = (SAME_INODE (*src_sb, *dst_sb)); @@ -527,13 +525,6 @@ same_file_ok (const char *src_path, const struct stat *src_sb, *return_now = 1; return 1; } - src_sb_no_link = &tmp_src_sb; - dst_sb_no_link = &tmp_dst_sb; - } - else - { - src_sb_no_link = src_sb; - dst_sb_no_link = dst_sb; } return 0;