[openssh-commits] [openssh] branch master updated: upstream: return 0 in void function; spotted by clang -Wextra

git+noreply at mindrot.org git+noreply at mindrot.org
Mon Dec 22 14:12:40 AEDT 2025


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

djm pushed a commit to branch master
in repository openssh.

The following commit(s) were added to refs/heads/master by this push:
     new dfd710e4e upstream: return 0 in void function; spotted by clang -Wextra
dfd710e4e is described below

commit dfd710e4e2928201743e32027e2d6cf0e2eafc61
Author: djm at openbsd.org <djm at openbsd.org>
AuthorDate: Mon Dec 22 03:12:05 2025 +0000

    upstream: return 0 in void function; spotted by clang -Wextra
    
    OpenBSD-Commit-ID: fe7461c93dfaef98a007a246af837a8275a1e539
---
 gss-serv.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gss-serv.c b/gss-serv.c
index 05c347ea0..0ef5018e5 100644
--- a/gss-serv.c
+++ b/gss-serv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gss-serv.c,v 1.34 2025/12/08 03:55:22 djm Exp $ */
+/* $OpenBSD: gss-serv.c,v 1.35 2025/12/22 03:12:05 djm Exp $ */
 
 /*
  * Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved.
@@ -334,7 +334,7 @@ ssh_gssapi_storecreds(void)
 {
 	if (options.gss_deleg_creds == 0) {
 		debug_f("delegate credential is disabled, doing nothing");
-		return 0;
+		return;
 	}
 
 	if (gssapi_client.mech && gssapi_client.mech->storecreds) {

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


More information about the openssh-commits mailing list