Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jan 2024 19:07:31 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: e9910377a7a9 - main - bin/cp: remove unreachable break
Message-ID:  <202401031907.403J7V6g070676@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=e9910377a7a90d0c9da9055b33450778af23434a

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

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

diff --git a/bin/cp/cp.c b/bin/cp/cp.c
index 1455979bdb6e..14d1cc2a3f75 100644
--- a/bin/cp/cp.c
+++ b/bin/cp/cp.c
@@ -149,7 +149,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.403J7V6g070676>