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:
parent
b5f96d2040
commit
7825512d18
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user