fix uninitialized variable in lio (aio) code

This commit is contained in:
Rich Felker 2013-06-16 01:40:17 -04:00
parent 20d01d83b5
commit 8600849d74
1 changed files with 1 additions and 1 deletions

View File

@ -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;