mirror of git://git.musl-libc.org/musl
fix uninitialized variable in lio (aio) code
This commit is contained in:
parent
20d01d83b5
commit
8600849d74
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue