[openssh-commits] [openssh] 02/02: upstream: don't need return at end of void function

git+noreply at mindrot.org git+noreply at mindrot.org
Mon Jul 8 13:05:48 AEST 2024


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit f2b78bb8f149d6b4d1f62c21aa1f06995dccf4ce
Author: djm at openbsd.org <djm at openbsd.org>
AuthorDate: Mon Jul 8 03:04:34 2024 +0000

    upstream: don't need return at end of void function
    
    OpenBSD-Commit-ID: 42d322d37f13aa075ae7b1ad9eef591e20b89717
---
 sshd-session.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sshd-session.c b/sshd-session.c
index fe6ae7f3..52e7bd82 100644
--- a/sshd-session.c
+++ b/sshd-session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshd-session.c,v 1.4 2024/06/26 23:16:52 deraadt Exp $ */
+/* $OpenBSD: sshd-session.c,v 1.5 2024/07/08 03:04:34 djm Exp $ */
 /*
  * SSH2 implementation:
  * Privilege Separation:
@@ -817,7 +817,6 @@ check_ip_options(struct ssh *ssh)
 		fatal("Connection from %.100s port %d with IP opts: %.800s",
 		    ssh_remote_ipaddr(ssh), ssh_remote_port(ssh), text);
 	}
-	return;
 #endif /* IP_OPTIONS */
 }
 

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list