1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/riscv_common: Suppress cppcheck error

cpu/riscv_common/thread_arch.c:188: error (comparePointers): Subtracting pointers that point to different objects
This commit is contained in:
Erik Ekman 2021-11-25 11:10:59 +01:00
parent b5f96d2040
commit 7825512d18

View File

@ -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();