aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-02-26 23:20:48 +0100
committerChristian Grothoff <christian@grothoff.org>2020-02-26 23:20:48 +0100
commit5d843e2cf47dcdcd90e6033567687c5a6e508529 (patch)
tree4807740b44164d761fd878aca8495a1950ec38df
parent582ce77d933d72cf7892337a3baf0015e39b2bb3 (diff)
fix uninitialized local
-rw-r--r--src/exchange/taler-exchange-httpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c
index 288b4578d..5374dbd5e 100644
--- 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