Skip to content

Commit 2b67908

Browse files
committed
Fix unused warning
Signed-off-by: Frederic.Pillon <[email protected]>
1 parent 12f6373 commit 2b67908

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

portable/MemMang/heap_useNewlib.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ void *__wrap_malloc(size_t nbytes) {
127127
void *p = __real_malloc(nbytes); // Solely for debug breakpoint...
128128
return p;
129129
};
130-
void *__wrap__malloc_r(void *reent, size_t nbytes) {
130+
void *__wrap__malloc_r(void *reent __attribute__((__unused__)), size_t nbytes) {
131131
extern void * __real__malloc_r(size_t nbytes);
132132
void *p = __real__malloc_r(nbytes); // Solely for debug breakpoint...
133133
return p;

0 commit comments

Comments
 (0)