fix uninitialized local

This commit is contained in:
Christian Grothoff 2020-02-26 23:20:48 +01:00
parent 582ce77d93
commit 5d843e2cf4
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -314,7 +314,7 @@ proceed_with_handler (const struct TEH_RequestHandler *rh,
{ {
const char *args[rh->nargs + 1]; const char *args[rh->nargs + 1];
size_t ulen = strlen (url) + 1; size_t ulen = strlen (url) + 1;
json_t *root; json_t *root = NULL;
int ret; int ret;
/* We do check for "ulen" here, because we'll later stack-allocate a buffer /* We do check for "ulen" here, because we'll later stack-allocate a buffer