2005-09-30 Eric Blake <ebb9@byu.net> (tiny change)
authorSimon Josefsson <simon@josefsson.org>
Sat, 1 Oct 2005 10:33:38 +0000 (10:33 +0000)
committerSimon Josefsson <simon@josefsson.org>
Sat, 1 Oct 2005 10:33:38 +0000 (10:33 +0000)
* getdelim.c (getdelim): Remove unused variables.

lib/ChangeLog
lib/getdelim.c

index b2fd7a3..ce57af8 100644 (file)
@@ -1,3 +1,7 @@
+2005-09-30  Eric Blake  <ebb9@byu.net>  (tiny change)
+
+       * getdelim.c (getdelim): Remove unused variables.
+
 2005-10-01  Simon Josefsson  <jas@extundo.com>
 
        * getaddrinfo.h: Protect #include's of sys/socket.h and netdb.h.
index 8498b75..8dacb73 100644 (file)
@@ -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);