minor cleanups (unused variables etc)
This commit is contained in:
3
rsync.c
3
rsync.c
@@ -147,7 +147,6 @@ static struct sum_struct *receive_sums(int f)
|
||||
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");
|
||||
@@ -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);
|
||||
|
||||
block_len = s->n;
|
||||
|
||||
if (s->count == 0)
|
||||
return(s);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user