[openssh-commits] [openssh] 01/02: avoid Wuninitialized false positive in gcc-12ish
git+noreply at mindrot.org
git+noreply at mindrot.org
Mon Sep 19 21:00:02 AEST 2022
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit 03d94a47207d58b3db37eba4f87eb6ae5a63168a
Author: Damien Miller <djm at mindrot.org>
Date: Mon Sep 19 20:59:04 2022 +1000
avoid Wuninitialized false positive in gcc-12ish
---
channels.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/channels.c b/channels.c
index 6a78de9d..e75a0cf9 100644
--- a/channels.c
+++ b/channels.c
@@ -369,7 +369,7 @@ channel_new(struct ssh *ssh, char *ctype, int type, int rfd, int wfd, int efd,
int nonblock)
{
struct ssh_channels *sc = ssh->chanctxt;
- u_int i, found;
+ u_int i, found = 0;
Channel *c;
int r;
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list