Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Mar 2023 15:12:51 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: ae90e9a9d6c3 - main - yp_mkdb: Remove useless return at the end of void function
Message-ID:  <202303021512.322FCpCP038130@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=ae90e9a9d6c3d4f28b2c7d9bd203187ab969b294

commit ae90e9a9d6c3d4f28b2c7d9bd203187ab969b294
Author:     Elyes Haouas <ehaouas@noos.fr>
AuthorDate: 2023-03-02 14:59:07 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-03-02 15:01:39 +0000

    yp_mkdb: Remove useless return at the end of void function
    
    Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
    Reviewed by: imp
    Pull Request: https://github.com/freebsd/freebsd-src/pull/656
---
 usr.sbin/yp_mkdb/yp_mkdb.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/usr.sbin/yp_mkdb/yp_mkdb.c b/usr.sbin/yp_mkdb/yp_mkdb.c
index 19139c3dc61e..021153bdb03a 100644
--- a/usr.sbin/yp_mkdb/yp_mkdb.c
+++ b/usr.sbin/yp_mkdb/yp_mkdb.c
@@ -92,7 +92,6 @@ unwind(char *map)
 		    (int)data.size, (char *)data.data);
 
 	(void)(dbp->close)(dbp);
-	return;
 }
 
 int



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