summaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2013-06-11 13:28:45 -0700
committerWayne Davison <wayned@samba.org>2013-06-11 13:28:45 -0700
commitfc2d6fabe7ef7543caa0cb36231c8234dd6b6eeb (patch)
treed8fb90444fa2a52a98f59f35f8e878805a2fe77a /options.c
parenta508e88fcf9797e796fb4c3d5a91d24323c477ea (diff)
downloadrsync-fc2d6fabe7ef7543caa0cb36231c8234dd6b6eeb.tar.gz
Set number_separator the first time it gets used.
Diffstat (limited to 'options.c')
-rw-r--r--options.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/options.c b/options.c
index 91e3fdd5..cebf2569 100644
--- a/options.c
+++ b/options.c
@@ -123,7 +123,6 @@ int checksum_seed = 0;
int inplace = 0;
int delay_updates = 0;
long block_size = 0; /* "long" because popt can't set an int32. */
-char number_separator;
char *skip_compress = NULL;
item_list dparam_list = EMPTY_ITEM_LIST;
@@ -1870,15 +1869,6 @@ int parse_arguments(int *argc_p, const char ***argv_p)
verbose > 1 ? "stats3" : "stats2", DEFAULT_PRIORITY);
}
- if (human_readable) {
- char buf[32];
- snprintf(buf, sizeof buf, "%f", 3.14);
- if (strchr(buf, '.') != NULL)
- number_separator = ',';
- else
- number_separator = '.';
- }
-
#ifdef ICONV_OPTION
if (iconv_opt && protect_args != 2) {
if (!am_server && strcmp(iconv_opt, "-") == 0)