1
0
Fork 0
forked from nuttx/nuttx-update

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:
ligd 2024-06-04 13:20:27 +08:00 committed by Xiang Xiao
parent 55d7708fa0
commit dae2a39443

View file

@ -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)
{