sched: fix warning
sched/sched_sysinfo.c:55:19: warning: unused variable 'minfo' [-Wunused-variable] 55 | struct mallinfo minfo; | ^~~~~ Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
parent
55d7708fa0
commit
dae2a39443
1 changed files with 2 additions and 0 deletions
|
@ -54,7 +54,9 @@ int sysinfo(FAR struct sysinfo *info)
|
|||
#ifdef CONFIG_MM_PGALLOC
|
||||
struct pginfo_s pginfo;
|
||||
#endif
|
||||
#if defined(MM_KERNEL_USRHEAP_INIT) || defined(CONFIG_MM_KERNEL_HEAP)
|
||||
struct mallinfo minfo;
|
||||
#endif
|
||||
|
||||
if (info == NULL)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue