From 0316101b8e8a28aed62136464d77417366e8654f Mon Sep 17 00:00:00 2001 From: elbandi Date: Tue, 19 Jul 2016 20:29:23 +0200 Subject: [PATCH] Initialize trie variable --- util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.c b/util.c index b965b54c..c525b3d2 100644 --- a/util.c +++ b/util.c @@ -1505,7 +1505,7 @@ static char *blank_merkel = "000000000000000000000000000000000000000000000000000 static bool parse_notify(struct pool *pool, json_t *val) { char *job_id, *prev_hash, *coinbase1, *coinbase2, *bbversion, *nbit, - *ntime, *header, *trie; + *ntime, *header, *trie = NULL; size_t cb1_len, cb2_len, alloc_len, header_len; unsigned char *cb1, *cb2; bool clean, ret = false, has_trie = false;