diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2015-10-19 19:05:25 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2015-10-19 19:05:25 +0000 |
commit | 52ff37749759d622e16980083edf64574a341911 (patch) | |
tree | 3d482240d2c49f2c4b9527558b6d02c1ed38b248 /usr.sbin/installboot | |
parent | ba4c24dd19af1cb887350846c01bc1e7e5f04f61 (diff) |
Nuke unused variable.
Diffstat (limited to 'usr.sbin/installboot')
-rw-r--r-- | usr.sbin/installboot/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/installboot/util.c b/usr.sbin/installboot/util.c index 3b5843c6310..a31eeac73e4 100644 --- a/usr.sbin/installboot/util.c +++ b/usr.sbin/installboot/util.c @@ -1,4 +1,4 @@ -/* $OpenBSD: util.c,v 1.9 2015/10/14 00:19:05 krw Exp $ */ +/* $OpenBSD: util.c,v 1.10 2015/10/19 19:05:24 krw Exp $ */ /* * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> @@ -37,7 +37,7 @@ filecopy(const char *srcfile, const char *dstfile) { struct stat sb; ssize_t sz, n; - int sfd, dfd, rslt = -1; + int sfd, dfd; char *buf; if ((buf = malloc(BUFSIZE)) == NULL) { |