[openssh-commits] [openssh] 01/06: upstream: -Werror was turned on (probably just for development),

git+noreply at mindrot.org git+noreply at mindrot.org
Wed May 22 14:22:01 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 f3e4db4601ef7d2feb1d6f7447e432aaf353a616
Author: deraadt at openbsd.org <deraadt at openbsd.org>
AuthorDate: Fri May 17 06:11:17 2024 +0000

    upstream: -Werror was turned on (probably just for development),
    
    and this is a simple way to satisfy older gcc.
    
    OpenBSD-Commit-ID: 7f698df54384b437ce33ab7405f0b86c87019e86
---
 misc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/misc.c b/misc.c
index 133ac0ec..0a00d096 100644
--- a/misc.c
+++ b/misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: misc.c,v 1.194 2024/05/17 00:30:23 djm Exp $ */
+/* $OpenBSD: misc.c,v 1.195 2024/05/17 06:11:17 deraadt Exp $ */
 /*
  * Copyright (c) 2000 Markus Friedl.  All rights reserved.
  * Copyright (c) 2005-2020 Damien Miller.  All rights reserved.
@@ -596,7 +596,7 @@ int
 convtime(const char *s)
 {
 	int secs, total = 0, multiplier;
-	char *p, *os, *np, c;
+	char *p, *os, *np, c = 0;
 	const char *errstr;
 
 	if (s == NULL || *s == '\0')

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


More information about the openssh-commits mailing list