git: 6dd869c22bc4 - main - bectl: remove spurious aok variable

Kyle Evans kevans at FreeBSD.org
Sat Jan 16 06:08:03 UTC 2021


The branch main has been updated by kevans:

URL: https://cgit.FreeBSD.org/src/commit/?id=6dd869c22bc4960b305a806867df7cfbc114f3a7

commit 6dd869c22bc4960b305a806867df7cfbc114f3a7
Author:     Kyle Evans <kevans at FreeBSD.org>
AuthorDate: 2021-01-16 06:02:43 +0000
Commit:     Kyle Evans <kevans at FreeBSD.org>
CommitDate: 2021-01-16 06:07:50 +0000

    bectl: remove spurious aok variable
    
    This rode in with the OpenZFS import. It may have been necessary at some
    point, but it is no longer and it breaks the WITHOUT_DYNAMICROOT build as
    it collides with the definition in libspl.
    
    Reported-by:    Michael Dexter
---
 sbin/bectl/bectl.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sbin/bectl/bectl.c b/sbin/bectl/bectl.c
index d4573393130d..50229b4b96b7 100644
--- a/sbin/bectl/bectl.c
+++ b/sbin/bectl/bectl.c
@@ -60,8 +60,6 @@ static int bectl_cmd_unmount(int argc, char *argv[]);
 
 libbe_handle_t *be;
 
-int aok;
-
 int
 usage(bool explicit)
 {


More information about the dev-commits-src-all mailing list