summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/tokeniser2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tokeniser2.c b/test/tokeniser2.c
index 06340fb..103a3d5 100644
--- a/test/tokeniser2.c
+++ b/test/tokeniser2.c
@@ -226,7 +226,7 @@ void token_handler(const hubbub_token *token, void *pw)
};
size_t i;
context *ctx = (context *) pw;
- struct json_object *obj;
+ struct json_object *obj = NULL;
struct array_list *items;
for (; ctx->output_index < array_list_length(ctx->output);