Skip to content

Commit

Permalink
Fix uninitialized variable in run-01-jsonrpc.c.
Browse files Browse the repository at this point in the history
Interesting that Travis spotted it but I didn't here.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
  • Loading branch information
rustyrussell committed Jul 30, 2014
1 parent 0f45401 commit 75894e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/run-01-jsonrpc.c
Expand Up @@ -36,6 +36,7 @@ void test(const char *input, const char *expect, bool needs_more, int extra)
jcon->len_read = strlen(input);
jcon->buffer = tal_dup(jcon, char, input, strlen(input), 0);
jcon->state = &state;
jcon->num_conns = 2;
list_head_init(&jcon->output);

plan = read_json(NULL, jcon);
Expand Down

0 comments on commit 75894e5

Please sign in to comment.