mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-03-12 13:13:21 +00:00
Fix warning that local variable may be used uninitialized in mem.c
This commit is contained in:
parent
8760fb677f
commit
803a711e6a
@ -166,7 +166,7 @@ void *
|
||||
mem_malloc(mem_size_t size)
|
||||
{
|
||||
void *ret;
|
||||
struct memp_malloc_helper *element;
|
||||
struct memp_malloc_helper *element = NULL;
|
||||
memp_t poolnr;
|
||||
mem_size_t required_size = size + LWIP_MEM_ALIGN_SIZE(sizeof(struct memp_malloc_helper));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user