mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-28 16:24:39 +02:00
avoid Wuninitialized false positive in gcc-12ish
This commit is contained in:
parent
9d95252911
commit
03d94a4720
@ -369,7 +369,7 @@ channel_new(struct ssh *ssh, char *ctype, int type, int rfd, int wfd, int efd,
|
|||||||
int nonblock)
|
int nonblock)
|
||||||
{
|
{
|
||||||
struct ssh_channels *sc = ssh->chanctxt;
|
struct ssh_channels *sc = ssh->chanctxt;
|
||||||
u_int i, found;
|
u_int i, found = 0;
|
||||||
Channel *c;
|
Channel *c;
|
||||||
int r;
|
int r;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user