Got rid of a variable that was set but not used.
authorWayne Davison <wayned@samba.org>
Tue, 22 Jul 2008 06:11:04 +0000 (23:11 -0700)
committerWayne Davison <wayned@samba.org>
Tue, 22 Jul 2008 06:11:04 +0000 (23:11 -0700)
io.c

diff --git a/io.c b/io.c
index 7cf272e..d884846 100644 (file)
--- 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)