]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Avoid an unused variable warning if no setvbuf.
authorWayne Davison <wayned@samba.org>
Sun, 23 Sep 2012 19:03:19 +0000 (12:03 -0700)
committerWayne Davison <wayned@samba.org>
Sun, 23 Sep 2012 19:03:19 +0000 (12:03 -0700)
options.c

index c556617d124db9d5898a9ec3daa79bc7158350da..81f6bd26697ea73926bb03a17ee68f4e3e9f22f9 100644 (file)
--- 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~";