summaryrefslogtreecommitdiff
path: root/src/util/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/config.c')
-rw-r--r--src/util/config.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/config.c b/src/util/config.c
index 205670431..1342b53b9 100644
--- a/src/util/config.c
+++ b/src/util/config.c
@@ -259,6 +259,9 @@ parse_currencies_cb (void *cls,
memset (cspec->currency,
0,
sizeof (cspec->currency));
+ /* Already checked in TALER_check_currency(), repeated here
+ just to make static analysis happy */
+ GNUNET_assert (strlen (str) < TALER_CURRENCY_LEN);
strcpy (cspec->currency,
str);
GNUNET_free (str);