aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-06-24 11:44:23 +0200
committerChristian Grothoff <christian@grothoff.org>2024-06-24 11:44:23 +0200
commit24faaa2a26c813ef83129fb7539017692e6f6966 (patch)
tree48495817ec5ecbe04cd048e82791b29baf05db56
parent421f09ca5d1326e01f65d3eeec41c2a34f2d026b (diff)
initialize RET if array is empty
-rw-r--r--src/exchange/taler-exchange-httpd_extensions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd_extensions.c b/src/exchange/taler-exchange-httpd_extensions.c
index d62a618ae..e95ec56e2 100644
--- a/src/exchange/taler-exchange-httpd_extensions.c
+++ b/src/exchange/taler-exchange-httpd_extensions.c
@@ -326,7 +326,7 @@ TEH_extensions_post_handler (
struct GNUNET_HashCode);
policy_details = GNUNET_new_array (len,
struct TALER_PolicyDetails);
-
+ ret = GNUNET_OK;
json_array_foreach (jhash_codes, idx, val)
{
struct GNUNET_JSON_Specification spec[] = {