[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] 01/02: -cov workaround
From: |
gnunet |
Subject: |
[taler-exchange] 01/02: -cov workaround |
Date: |
Wed, 22 Nov 2023 22:58:07 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
commit 3de167772f5d055e105bfd0507bd93e64c3a5042
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Nov 22 21:55:17 2023 +0100
-cov workaround
---
src/util/config.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/util/config.c b/src/util/config.c
index 20567043..1342b53b 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);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.