summaryrefslogtreecommitdiff
path: root/rsync
Side-by-side diff
Diffstat (limited to 'rsync') (more/less context) (ignore whitespace changes)
-rw-r--r--rsync/buf.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/rsync/buf.c b/rsync/buf.c
index c978fff..fdd67ee 100644
--- a/rsync/buf.c
+++ b/rsync/buf.c
@@ -98,3 +98,2 @@ rs_result rs_infilebuf_fill(rs_job_t *job, rs_buffers_t *buf,
{
- job=job;
int len;
@@ -102,2 +101,4 @@ rs_result rs_infilebuf_fill(rs_job_t *job, rs_buffers_t *buf,
FILE *f = fb->f;
+
+ job=job; // fix unused warning
@@ -150,3 +151,2 @@ rs_result rs_outfilebuf_drain(rs_job_t *job, rs_buffers_t *buf, void *opaque)
{
- job=job;
int present;
@@ -155,2 +155,4 @@ rs_result rs_outfilebuf_drain(rs_job_t *job, rs_buffers_t *buf, void *opaque)
+ job=job; // fix unused warning
+
/* This is only allowed if either the buf has no output buffer