From e24ce7a6b3477cbe763a0ee517cbac5e7a5948bd Mon Sep 17 00:00:00 2001 From: Carl Elgstrom Date: Fri, 27 Feb 2026 15:24:54 +0100 Subject: [PATCH] coap_mem: fix -Werror=return-type in coap_malloc() lwIP stub --- include/coap3/coap_mem.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/coap3/coap_mem.h b/include/coap3/coap_mem.h index 79f408f9..cd125121 100644 --- a/include/coap3/coap_mem.h +++ b/include/coap3/coap_mem.h @@ -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