1
0
Fork 0
mirror of https://git.sr.ht/~sircmpwn/gmni synced 2024-05-29 14:26:03 +02:00

Fix possibly uninitialized variable

This commit is contained in:
Drew DeVault 2020-10-24 11:05:17 -04:00
parent afab58cb64
commit 49c0c523c6

View File

@ -315,7 +315,7 @@ main(int argc, char *argv[])
break;
}
char last;
char last = 0;
char buf[BUFSIZ];
for (int n = 1; n > 0;) {
n = BIO_read(resp.bio, buf, BUFSIZ);