mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 01:31:55 +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