commit 61247e3595d0684b3b311b87d54c2e8c74ecd5be parent afb1f0ead09220cdb3d566b3fdb8ba0304c50f2b Author: Connor Lane Smith <cls@lubutu.com> Date: Fri, 10 Jun 2011 14:51:53 +0100 tail: gcc whines Diffstat:
M | tail.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tail.c b/tail.c @@ -58,7 +58,7 @@ taketail(FILE *fp, const char *str, long n) { char **ring; long i, j; - size_t *size; + size_t *size = NULL; if(!(ring = calloc(n, sizeof *ring)) || !(size = calloc(n, sizeof *size))) eprintf("calloc:");