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

nuttx net warning:cancel the conflict between weak and inline in unwind_arch_adjustment

Change-Id: I0ac7571ca27191b69acdc31f5bc07943c4d87e58
This commit is contained in:
zhanghu
2021-04-20 17:37:15 +08:00
committed by zhanghu6
parent 2af7861b31
commit cfcef34ad6
2 changed files with 2 additions and 2 deletions
+1 -1
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,
FAR struct sigevent *sig)
{
FAR struct aiocb *aiocbp;
FAR struct aiocb *aiocbp = NULL;
int nqueued;
int errcode;
int retcode;
+1 -1
View File
@@ -44,7 +44,7 @@ struct trace_arg
* Private Functions
****************************************************************************/
static inline weak_function
weak_function
FAR void *unwind_arch_adjustment(FAR void *prev, FAR void *addr)
{
return addr;