From: Rich Felker Date: Sun, 16 Jun 2013 05:40:17 +0000 (-0400) Subject: fix uninitialized variable in lio (aio) code X-Git-Tag: v0.9.11~30 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8600849d74ddd1fca8eba467af5c04c18731ba49;p=oweals%2Fmusl.git fix uninitialized variable in lio (aio) code --- 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;