avoid Wuninitialized false positive in gcc-12ish

This commit is contained in:
Damien Miller 2022-09-19 20:59:04 +10:00
parent 9d95252911
commit 03d94a4720
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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;