diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-11-22 21:55:17 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-11-22 21:58:02 +0100 |
commit | 3de167772f5d055e105bfd0507bd93e64c3a5042 (patch) | |
tree | 525d830bf989f43d7cd96b4b20529c2ae9b56dab /src | |
parent | cdc93b68f0b586282653acc9d3aaaa9f2ac4fa2e (diff) |
-cov workaround
Diffstat (limited to 'src')
-rw-r--r-- | src/util/config.c | 3 |
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); |