commit 24faaa2a26c813ef83129fb7539017692e6f6966
parent 421f09ca5d1326e01f65d3eeec41c2a34f2d026b
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 24 Jun 2024 11:44:23 +0200
initialize RET if array is empty
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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[] = {