about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/aio/lio_listio.c2
1 files changed, 1 insertions, 1 deletions
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;