aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2012-09-23 12:03:19 -0700
committerWayne Davison <wayned@samba.org>2012-09-23 12:03:19 -0700
commitf143b55ef11d2a43fa581e137f717aad3fdf01a3 (patch)
treeae57a264463a0808c9f753cb3e1301568b9a19bc /options.c
parentee51a745c163f3c422a30b22f4beda0e1ead7c20 (diff)
downloadandroid_external_rsync-f143b55ef11d2a43fa581e137f717aad3fdf01a3.tar.gz
android_external_rsync-f143b55ef11d2a43fa581e137f717aad3fdf01a3.tar.bz2
android_external_rsync-f143b55ef11d2a43fa581e137f717aad3fdf01a3.zip
Avoid an unused variable warning if no setvbuf.
Diffstat (limited to 'options.c')
-rw-r--r--options.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/options.c b/options.c
index c556617d..81f6bd26 100644
--- a/options.c
+++ b/options.c
@@ -303,7 +303,9 @@ static int refused_partial, refused_progress, refused_delete_before;
static int refused_delete_during;
static int refused_inplace, refused_no_iconv;
static BOOL usermap_via_chown, groupmap_via_chown;
+#ifdef HAVE_SETVBUF
static char *outbuf_mode;
+#endif
static char *bwlimit_arg, *max_size_arg, *min_size_arg;
static char tmp_partialdir[] = ".~tmp~";