summaryrefslogtreecommitdiff
path: root/bin/mv
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2015-12-27 01:26:48 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2015-12-27 01:26:48 +0000
commita2ecdc7e900213827d4fa7b574f6f3aa96ebcf46 (patch)
tree6a0e5d8f7a02aa75344dbb8ff7dbea0fd150d8f1 /bin/mv
parent6505918e4be8d15401cc16f27e876e1a0d14ffde (diff)
remove unused variable
ok tedu@
Diffstat (limited to 'bin/mv')
-rw-r--r--bin/mv/cp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/mv/cp.c b/bin/mv/cp.c
index aefc8bfd3c4..34799f782af 100644
--- a/bin/mv/cp.c
+++ b/bin/mv/cp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cp.c,v 1.6 2015/12/26 18:11:43 guenther Exp $ */
+/* $OpenBSD: cp.c,v 1.7 2015/12/27 01:25:57 chl Exp $ */
/* $NetBSD: cp.c,v 1.14 1995/09/07 06:14:51 jtc Exp $ */
/*
@@ -386,7 +386,7 @@ copy(char *argv[], enum op type, int fts_options)
}
-/* $OpenBSD: cp.c,v 1.6 2015/12/26 18:11:43 guenther Exp $ */
+/* $OpenBSD: cp.c,v 1.7 2015/12/27 01:25:57 chl Exp $ */
/* $NetBSD: utils.c,v 1.6 1997/02/26 14:40:51 cgd Exp $ */
/*-
@@ -438,7 +438,7 @@ copy_file(FTSENT *entp, int dne)
{
static char *buf;
static char *zeroes;
- struct stat to_stat, *fs;
+ struct stat *fs;
int ch, checkch, from_fd, rcount, rval, to_fd, wcount;
#ifdef VM_AND_BUFFER_CACHE_SYNCHRONIZED
char *p;