changeset 6320:0a2fddc08f7a

2005-09-30 Eric Blake <ebb9@byu.net> (tiny change) * getdelim.c (getdelim): Remove unused variables.
author Simon Josefsson <simon@josefsson.org>
date Sat, 01 Oct 2005 10:33:38 +0000
parents 81f384f9b845
children 2b9ecd9439d4
files lib/ChangeLog lib/getdelim.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -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.
--- a/lib/getdelim.c
+++ b/lib/getdelim.c
@@ -48,7 +48,6 @@
 {
   int result = 0;
   ssize_t cur_len = 0;
-  ssize_t len;
 
   if (lineptr == NULL || n == NULL || fp == NULL)
     {
@@ -71,7 +70,6 @@
 
   for (;;)
     {
-      char *t;
       int i;
 
       i = getc (fp);