summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/testutil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testutil.h b/test/testutil.h
index dea8846fd..9a1eb2d65 100644
--- a/test/testutil.h
+++ b/test/testutil.h
@@ -70,7 +70,7 @@ static int tokeq(const char *s, jsmntok_t *tokens, int numtok, ...) {
static int parse(const char *s, int status, int numtok, ...) {
int r;
- int ok;
+ int ok = 1;
va_list args;
jsmn_parser p;
jsmntok_t *t = malloc(numtok * sizeof(jsmntok_t));