From: deraadt Date: Fri, 17 May 2024 06:11:17 +0000 (+0000) Subject: -Werror was turned on (probably just for development), and this is a X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=40dfd57bd671d804124709bc751b4098984bbb21;p=openbsd -Werror was turned on (probably just for development), and this is a simple way to satisfy older gcc. --- diff --git a/usr.bin/ssh/misc.c b/usr.bin/ssh/misc.c index 59127b6e24d..38f987549d0 100644 --- a/usr.bin/ssh/misc.c +++ b/usr.bin/ssh/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. @@ -544,7 +544,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')