Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Mar 2023 15:12:43 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: a5aa07dd855e - main - extattr: Remove useless return at the end of void function
Message-ID:  <202303021512.322FChFl037952@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=a5aa07dd855e55cd2800dd9ff7c3bddce2502b39

commit a5aa07dd855e55cd2800dd9ff7c3bddce2502b39
Author:     Elyes Haouas <ehaouas@noos.fr>
AuthorDate: 2023-03-02 14:59:06 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-03-02 14:59:13 +0000

    extattr: 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/extattr/rmextattr.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/usr.sbin/extattr/rmextattr.c b/usr.sbin/extattr/rmextattr.c
index 0daf15cec940..b2f37d1caf0f 100644
--- a/usr.sbin/extattr/rmextattr.c
+++ b/usr.sbin/extattr/rmextattr.c
@@ -98,7 +98,6 @@ mkbuf(char **buf, int *oldlen, int newlen)
 	if (*buf == NULL)
 		err(1, "malloc");
 	*oldlen = newlen;
-	return;
 }
 
 int



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