From 342f8cbf12ba2516428ef58d2f00b664f9738639 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 29 Oct 2023 16:15:00 +0100 Subject: no more decimal separator --- src/util/config.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/util/config.c') diff --git a/src/util/config.c b/src/util/config.c index 7002a6d7c..e22207f77 100644 --- a/src/util/config.c +++ b/src/util/config.c @@ -268,20 +268,6 @@ parse_currencies_cb (void *cls, str); GNUNET_free (str); - if (GNUNET_OK != - GNUNET_CONFIGURATION_get_value_string (cpc->cfg, - section, - "DECIMAL_SEPARATOR", - &str)) - { - GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR, - section, - "DECIMAL_SEPARATOR"); - cpc->failure = true; - return; - } - cspec->decimal_separator = str; - if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_string (cpc->cfg, section, @@ -487,8 +473,6 @@ TALER_CONFIG_currency_specs_to_json (const struct TALER_CurrencySpecification *cspec) { return GNUNET_JSON_PACK ( - GNUNET_JSON_pack_string ("decimal_separator", - cspec->decimal_separator), GNUNET_JSON_pack_string ("name", cspec->name), GNUNET_JSON_pack_string ("currency", @@ -515,7 +499,6 @@ TALER_CONFIG_free_currencies ( { struct TALER_CurrencySpecification *cspec = &cspecs[i]; - GNUNET_free (cspec->decimal_separator); GNUNET_free (cspec->name); json_decref (cspec->map_alt_unit_names); } -- cgit v1.2.3