coap_mem: fix -Werror=return-type in coap_malloc() lwIP stub

This commit is contained in:
Carl Elgstrom authored and Jon Shallow committed 2026-02-27 16:32:56 +00:00
1 parent 6fd1fbf702
commit e24ce7a6b3
1 file changed
+1
+1
View File
@@ -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