mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-18 05:39:04 +03:00
coap_mem: fix -Werror=return-type in coap_malloc() lwIP stub
This commit is contained in:
1 parent
6fd1fbf702
commit
e24ce7a6b3
1 file changed
+1
@@ -176,6 +176,7 @@ COAP_STATIC_INLINE void *
|
||||
coap_malloc(size_t size) {
|
||||
(void)size;
|
||||
LWIP_ASSERT("coap_malloc must not be used in lwIP", 0);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
COAP_STATIC_INLINE void
|
||||
|
||||
Reference in new issue
Block a user