mirror of
https://github.com/CPunch/Laika.git
synced 2024-11-22 04:50:06 +00:00
Remove unneeded check
This commit is contained in:
parent
2fb0ef29a6
commit
d34a824133
@ -6,7 +6,6 @@ void *laikaM_realloc(void *buf, size_t sz) {
|
|||||||
|
|
||||||
/* are we free'ing the buffer? */
|
/* are we free'ing the buffer? */
|
||||||
if (sz == 0) {
|
if (sz == 0) {
|
||||||
if (buf != NULL) /* sanity check :) */
|
|
||||||
free(buf);
|
free(buf);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user