commit 5d843e2cf47dcdcd90e6033567687c5a6e508529
parent 582ce77d933d72cf7892337a3baf0015e39b2bb3
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 26 Feb 2020 23:20:48 +0100
fix uninitialized local
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c
@@ -314,7 +314,7 @@ proceed_with_handler (const struct TEH_RequestHandler *rh,
{
const char *args[rh->nargs + 1];
size_t ulen = strlen (url) + 1;
- json_t *root;
+ json_t *root = NULL;
int ret;
/* We do check for "ulen" here, because we'll later stack-allocate a buffer