Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
93465f5
)
Got rid of a variable that was set but not used.
author
Wayne Davison
<wayned@samba.org>
Tue, 22 Jul 2008 06:11:04 +0000
(23:11 -0700)
committer
Wayne Davison
<wayned@samba.org>
Tue, 22 Jul 2008 06:11:04 +0000
(23:11 -0700)
io.c
patch
|
blob
|
blame
|
history
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;
xbuf outbuf, inbuf;
char ibuf[512];
int add_null = 0;
- int pos = 0;
INIT_CONST_XBUF(outbuf, line);
INIT_XBUF(inbuf, ibuf, 0, -1);
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;
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)
}
if (add_null) {
if (outbuf.len == outbuf.size)