diff options
| author | 2015-10-19 19:05:24 +0000 | |
|---|---|---|
| committer | 2015-10-19 19:05:24 +0000 | |
| commit | e9230ec0dcb0c5f668dff6dfd7bfee4ebca5af0d (patch) | |
| tree | 58a1472e34fbc19f9754413d6877601263f3b078 /usr.sbin/installboot/util.c | |
| parent | including <ohash.h> requires including <stdint.h> beforehand; (diff) | |
| download | wireguard-openbsd-e9230ec0dcb0c5f668dff6dfd7bfee4ebca5af0d.tar.xz wireguard-openbsd-e9230ec0dcb0c5f668dff6dfd7bfee4ebca5af0d.zip | |
Nuke unused variable.
Diffstat (limited to 'usr.sbin/installboot/util.c')
| -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) { |
