diff options
author | Damien Miller <djm@mindrot.org> | 2022-09-19 12:59:04 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2022-09-19 12:59:04 +0200 |
commit | 03d94a47207d58b3db37eba4f87eb6ae5a63168a (patch) | |
tree | 35f1cf124748f641a35410f87763abc6d7248fcd /channels.c | |
parent | upstream: use users-groups-by-id@openssh.com sftp-server extension (diff) | |
download | openssh-03d94a47207d58b3db37eba4f87eb6ae5a63168a.tar.xz openssh-03d94a47207d58b3db37eba4f87eb6ae5a63168a.zip |
avoid Wuninitialized false positive in gcc-12ish
Diffstat (limited to 'channels.c')
-rw-r--r-- | channels.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels.c b/channels.c index 6a78de9d5..e75a0cf9b 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; |