commit 49c0c523c69842f8ebc33135947591cf6f7a7cab parent afab58cb64f205ce9f469a328a7477b808b0c76c Author: Drew DeVault <sir@cmpwn.com> Date: Sat, 24 Oct 2020 11:05:17 -0400 Fix possibly uninitialized variable Diffstat:
M | src/gmni.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gmni.c b/src/gmni.c @@ -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);