mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-08 12:18:42 +00:00
Tame improper xmalloc warning
This commit is contained in:
parent
b797444e94
commit
be2ba84e50
@ -65,9 +65,8 @@ xmalloc(uint size)
|
||||
void *
|
||||
xrealloc(void *ptr, uint size)
|
||||
{
|
||||
void *p = realloc(ptr, size);
|
||||
|
||||
MINFO(ptr, 0, 2);
|
||||
void *p = realloc(ptr, size);
|
||||
MINFO(p, size, 3);
|
||||
|
||||
if (p)
|
||||
|
Loading…
Reference in New Issue
Block a user