git: a5aa07dd855e - main - extattr: Remove useless return at the end of void function
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 02 Mar 2023 15:12:43 UTC
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