diff --git a/libs/libc/aio/lio_listio.c b/libs/libc/aio/lio_listio.c index c7401779df..29042f1ef5 100644 --- a/libs/libc/aio/lio_listio.c +++ b/libs/libc/aio/lio_listio.c @@ -507,7 +507,7 @@ static int lio_waitall(FAR struct aiocb * const *list, int nent) int lio_listio(int mode, FAR struct aiocb * const list[], int nent, FAR struct sigevent *sig) { - FAR struct aiocb *aiocbp; + FAR struct aiocb *aiocbp = NULL; int nqueued; int errcode; int retcode;