From: djm Date: Sun, 28 Nov 2021 07:10:18 +0000 (+0000) Subject: missing initialisation for oerrno X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=11dd54c70da6e8283705f09300b98fd54f5d3a31;p=openbsd missing initialisation for oerrno --- diff --git a/usr.bin/ssh/sshsig.c b/usr.bin/ssh/sshsig.c index 304c4282173..2d9f5cad6ca 100644 --- a/usr.bin/ssh/sshsig.c +++ b/usr.bin/ssh/sshsig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sshsig.c,v 1.24 2021/11/27 07:14:46 djm Exp $ */ +/* $OpenBSD: sshsig.c,v 1.25 2021/11/28 07:10:18 djm Exp $ */ /* * Copyright (c) 2019 Google LLC * @@ -1056,7 +1056,7 @@ sshsig_match_principals(const char *path, const char *principal, char *found, *line = NULL, **principals = NULL, **tmp; size_t i, nprincipals = 0, linesize = 0; u_long linenum = 0; - int oerrno, r, ret = 0; + int oerrno = 0, r, ret = 0; if (principalsp != NULL) *principalsp = NULL;