]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(same_file_ok): Remove declaration and set of unused
authorJim Meyering <jim@meyering.net>
Mon, 25 Dec 2000 18:35:16 +0000 (18:35 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 25 Dec 2000 18:35:16 +0000 (18:35 +0000)
variables: src_sb_no_link, dst_sb_no_link.

src/copy.c

index 75046b4d7bda05c3778921deb223adebe350e7f5..bd8a224f33025ec88ab6e4bff35bd6dc2188cb8a 100644 (file)
@@ -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;