nuttx net warning:add initialization of pointer *aiocbp in lio_listio

Change-Id: I0ac7571ca27191b69acdc31f5bc07943c4d87e58
This commit is contained in:
zhanghu 2021-04-20 17:37:15 +08:00 committed by Gustavo Henrique Nihei
parent 025bddfc6c
commit 7b0347c66c
1 changed files with 1 additions and 1 deletions

View File

@ -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, int lio_listio(int mode, FAR struct aiocb * const list[], int nent,
FAR struct sigevent *sig) FAR struct sigevent *sig)
{ {
FAR struct aiocb *aiocbp; FAR struct aiocb *aiocbp = NULL;
int nqueued; int nqueued;
int errcode; int errcode;
int retcode; int retcode;