From 40dfd57bd671d804124709bc751b4098984bbb21 Mon Sep 17 00:00:00 2001 From: deraadt Date: Fri, 17 May 2024 06:11:17 +0000 Subject: [PATCH] -Werror was turned on (probably just for development), and this is a simple way to satisfy older gcc. --- usr.bin/ssh/misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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') -- 2.20.1