From 8600849d74ddd1fca8eba467af5c04c18731ba49 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 16 Jun 2013 01:40:17 -0400 Subject: [PATCH] fix uninitialized variable in lio (aio) code --- src/aio/lio_listio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aio/lio_listio.c b/src/aio/lio_listio.c index 64a6ebc1..07145dd4 100644 --- a/src/aio/lio_listio.c +++ b/src/aio/lio_listio.c @@ -13,7 +13,7 @@ struct lio_state { static int lio_wait(struct lio_state *st) { - int i, err, got_err; + int i, err, got_err = 0; int cnt = st->cnt; struct aiocb **cbs = st->cbs; -- 2.25.1