mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
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:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user