diff --git a/cpu/riscv_common/thread_arch.c b/cpu/riscv_common/thread_arch.c index a9127a21ed..b1332c730d 100644 --- a/cpu/riscv_common/thread_arch.c +++ b/cpu/riscv_common/thread_arch.c @@ -185,6 +185,7 @@ void heap_stats(void) extern char _sheap; /* defined in linker script */ extern char _eheap; /* defined in linker script */ + /* cppcheck-suppress comparePointers */ long int heap_size = &_eheap - &_sheap; struct mallinfo minfo = mallinfo();