tail: gcc whines
This commit is contained in:
parent
afb1f0ead0
commit
61247e3595
2
tail.c
2
tail.c
|
@ -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:");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user