tail: gcc whines

This commit is contained in:
Connor Lane Smith 2011-06-10 14:51:53 +01:00
parent afb1f0ead0
commit 61247e3595

2
tail.c
View File

@ -58,7 +58,7 @@ taketail(FILE *fp, const char *str, long n)
{ {
char **ring; char **ring;
long i, j; long i, j;
size_t *size; size_t *size = NULL;
if(!(ring = calloc(n, sizeof *ring)) || !(size = calloc(n, sizeof *size))) if(!(ring = calloc(n, sizeof *ring)) || !(size = calloc(n, sizeof *size)))
eprintf("calloc:"); eprintf("calloc:");