make warning go away
This commit is contained in:
parent
e8473e7e58
commit
83957ee887
@ -15,9 +15,8 @@ void *xcalloc(void *pointer, int size) {
|
|||||||
if (!(ret = calloc(1, size))) {
|
if (!(ret = calloc(1, size))) {
|
||||||
fprintf(stderr, "xcalloc: allocation error, size = %d\n", size);
|
fprintf(stderr, "xcalloc: allocation error, size = %d\n", size);
|
||||||
exit(1);
|
exit(1);
|
||||||
} else {
|
|
||||||
return ret;
|
|
||||||
}
|
}
|
||||||
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
void *xmalloc(unsigned int size) {
|
void *xmalloc(unsigned int size) {
|
||||||
|
Loading…
Reference in New Issue
Block a user