mirror of
https://github.com/openssh/openssh-portable.git
synced 2026-01-12 00:04:08 +08:00
avoid Wuninitialized false positive in gcc-12ish
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user