From a72f37bb67f16c2d5a17bae77f7a82bcfdd96a9c Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Mon, 21 Jul 2008 23:11:04 -0700 Subject: [PATCH] Got rid of a variable that was set but not used. --- io.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/io.c b/io.c index 7cf272e8..d884846a 100644 --- a/io.c +++ b/io.c @@ -1091,7 +1091,6 @@ static int readfd_unbuffered(int fd, char *buf, size_t len) xbuf outbuf, inbuf; char ibuf[512]; int add_null = 0; - int pos = 0; INIT_CONST_XBUF(outbuf, line); INIT_XBUF(inbuf, ibuf, 0, -1); @@ -1106,7 +1105,6 @@ static int readfd_unbuffered(int fd, char *buf, size_t len) if (iconvbufs(ic_send, &inbuf, &outbuf, ICB_INCLUDE_BAD | ICB_INCLUDE_INCOMPLETE) < 0) goto overflow; - pos = -1; } if (add_null) { if (outbuf.len == outbuf.size) -- 2.34.1