diff options
author | Nicolas Williams <nico@cryptonector.com> | 2014-12-27 18:09:28 -0600 |
---|---|---|
committer | Nicolas Williams <nico@cryptonector.com> | 2014-12-27 18:09:28 -0600 |
commit | 5c62a4b805c663267b60ad063b9553cb3ca06a1f (patch) | |
tree | 7fa721fec48c2d0b1db16eae44290809e4c8ebe8 | |
parent | 559863ca6841da96d70220fd8638c5bcd590f229 (diff) |
Fix uninitialized struct field
-rw-r--r-- | jv_parse.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -80,6 +80,7 @@ static void parser_init(struct jv_parser* p, int flags) { p->curr_buf = 0; p->curr_buf_length = p->curr_buf_pos = p->curr_buf_is_partial = 0; p->bom_strip_position = 0; + p->last_ch_was_ws = 0; p->line = 1; p->column = 0; jvp_dtoa_context_init(&p->dtoa); |