diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-06-16 01:40:17 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-06-16 01:40:17 -0400 |
commit | 8600849d74ddd1fca8eba467af5c04c18731ba49 (patch) | |
tree | dac428ebaa4ef5a82f51ce8a96fdbc8630ee0f49 | |
parent | 20d01d83b5a13c77805976e7c520f566244ba3ff (diff) | |
download | musl-8600849d74ddd1fca8eba467af5c04c18731ba49.tar.gz musl-8600849d74ddd1fca8eba467af5c04c18731ba49.tar.bz2 musl-8600849d74ddd1fca8eba467af5c04c18731ba49.tar.xz musl-8600849d74ddd1fca8eba467af5c04c18731ba49.zip |
fix uninitialized variable in lio (aio) code
-rw-r--r-- | src/aio/lio_listio.c | 2 |
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; |