mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-03-09 01:46:59 -04:00
Got rid of a variable that was set but not used.
This commit is contained in:
2
io.c
2
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)
|
||||
|
||||
Reference in New Issue
Block a user