upstream: -Werror was turned on (probably just for development),
and this is a simple way to satisfy older gcc. OpenBSD-Commit-ID: 7f698df54384b437ce33ab7405f0b86c87019e86
This commit is contained in:
parent
24a1f3e5ad
commit
f3e4db4601
4
misc.c
4
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')
|
||||
|
|
Loading…
Reference in New Issue