Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor cleanups (unused variables etc)
[rsync/rsync.git]
/
rsync.c
diff --git
a/rsync.c
b/rsync.c
index
790631f
..
90214a8
100644
(file)
--- a/
rsync.c
+++ b/
rsync.c
@@
-147,7
+147,6
@@
static struct sum_struct *receive_sums(int f)
struct sum_struct *s;
int i;
off_t offset = 0;
struct sum_struct *s;
int i;
off_t offset = 0;
- int block_len;
s = (struct sum_struct *)malloc(sizeof(*s));
if (!s) out_of_memory("receive_sums");
s = (struct sum_struct *)malloc(sizeof(*s));
if (!s) out_of_memory("receive_sums");
@@
-161,8
+160,6
@@
static struct sum_struct *receive_sums(int f)
fprintf(FERROR,"count=%d n=%d rem=%d\n",
s->count,s->n,s->remainder);
fprintf(FERROR,"count=%d n=%d rem=%d\n",
s->count,s->n,s->remainder);
- block_len = s->n;
-
if (s->count == 0)
return(s);
if (s->count == 0)
return(s);