summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchl <chl@openbsd.org>2015-12-27 01:25:57 +0000
committerchl <chl@openbsd.org>2015-12-27 01:25:57 +0000
commitc642ab92034a261cca811fdeaf68d1390a15fd6b (patch)
tree52b8194e6ff4a18f158f0f4d982e7648bce2d67d
parentremove unused variable (diff)
downloadwireguard-openbsd-c642ab92034a261cca811fdeaf68d1390a15fd6b.tar.xz
wireguard-openbsd-c642ab92034a261cca811fdeaf68d1390a15fd6b.zip
remove unused variable
ok tedu@
-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;