From: Simon Josefsson Date: Sat, 1 Oct 2005 10:33:38 +0000 (+0000) Subject: 2005-09-30 Eric Blake (tiny change) X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1f4e1e3350eb758f5de9353415a4ba7394f348d;p=pspp 2005-09-30 Eric Blake (tiny change) * getdelim.c (getdelim): Remove unused variables. --- diff --git a/lib/ChangeLog b/lib/ChangeLog index b2fd7a381c..ce57af82ad 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2005-09-30 Eric Blake (tiny change) + + * getdelim.c (getdelim): Remove unused variables. + 2005-10-01 Simon Josefsson * getaddrinfo.h: Protect #include's of sys/socket.h and netdb.h. diff --git a/lib/getdelim.c b/lib/getdelim.c index 8498b7556a..8dacb73bd1 100644 --- a/lib/getdelim.c +++ b/lib/getdelim.c @@ -48,7 +48,6 @@ getdelim (char **lineptr, size_t *n, int delimiter, FILE *fp) { int result = 0; ssize_t cur_len = 0; - ssize_t len; if (lineptr == NULL || n == NULL || fp == NULL) { @@ -71,7 +70,6 @@ getdelim (char **lineptr, size_t *n, int delimiter, FILE *fp) for (;;) { - char *t; int i; i = getc (fp);