make warning go away

This commit is contained in:
albert 2002-09-30 23:32:54 +00:00
parent e8473e7e58
commit 83957ee887

View File

@ -15,9 +15,8 @@ void *xcalloc(void *pointer, int size) {
if (!(ret = calloc(1, size))) {
fprintf(stderr, "xcalloc: allocation error, size = %d\n", size);
exit(1);
} else {
return ret;
}
return ret;
}
void *xmalloc(unsigned int size) {