Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jan 2024 19:07:32 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 8312a902f98c - main - bin/setfacl: remove unreachable break after usage()
Message-ID:  <202401031907.403J7WBg070724@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=8312a902f98c8a1d991bcee86acbff2abc218d58

commit 8312a902f98c8a1d991bcee86acbff2abc218d58
Author:     rilysh <nightquick@proton.me>
AuthorDate: 2024-01-03 19:03:52 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-01-03 19:05:50 +0000

    bin/setfacl: remove unreachable break after usage()
    
    Signed-off-by: rilysh <nightquick@proton.me>
    Reviewed by: imp
    Pull Request: https://github.com/freebsd/freebsd-src/pull/872
---
 bin/setfacl/setfacl.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/bin/setfacl/setfacl.c b/bin/setfacl/setfacl.c
index 02f10944f169..ef3f58b326a3 100644
--- a/bin/setfacl/setfacl.c
+++ b/bin/setfacl/setfacl.c
@@ -459,7 +459,6 @@ main(int argc, char *argv[])
 			break;
 		default:
 			usage();
-			break;
 		}
 	argc -= optind;
 	argv += optind;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401031907.403J7WBg070724>