diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2024-05-17 06:11:18 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2024-05-17 06:11:18 +0000 |
commit | fe0c78d1c79100a7df60da1eebc68a17790b4119 (patch) | |
tree | c2e97bb9bbb845c10de9dd8ae9c51f204cbd6953 /usr.bin/ssh | |
parent | d838131b086960dbfc302e89c0bbaba6d6181a26 (diff) |
-Werror was turned on (probably just for development), and this is a
simple way to satisfy older gcc.
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r-- | usr.bin/ssh/misc.c | 4 |
1 files 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') |