Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jun 2023 08:35:56 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 64d0e990f766 - stable/13 - setkey(8): remove redundand returns
Message-ID:  <202306050835.3558ZuA7024248@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=64d0e990f766a169751ed7771f4cf6303fe01d49

commit 64d0e990f766a169751ed7771f4cf6303fe01d49
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-04-03 01:59:07 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-06-05 08:35:00 +0000

    setkey(8): remove redundand returns
    
    (cherry picked from commit 462c3d3cf45eca034683d9793b9ce09381346744)
---
 sbin/setkey/parse.y | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/sbin/setkey/parse.y b/sbin/setkey/parse.y
index ae0859c22d2c..0d8605c3409a 100644
--- a/sbin/setkey/parse.y
+++ b/sbin/setkey/parse.y
@@ -1306,14 +1306,10 @@ parse_init()
 
 	p_aiflags = 0;
 	p_aifamily = PF_UNSPEC;
-
-	return;
 }
 
 void
 free_buffer()
 {
 	/* we got tons of memory leaks in the parser anyways, leave them */
-
-	return;
 }



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