From e9230ec0dcb0c5f668dff6dfd7bfee4ebca5af0d Mon Sep 17 00:00:00 2001 From: krw Date: Mon, 19 Oct 2015 19:05:24 +0000 Subject: [PATCH] Nuke unused variable. --- usr.sbin/installboot/util.c | 4 ++-- 1 file 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 @@ -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) { -- 2.20.1