1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-22 04:24:19 +00:00

Initialize trie variable

This commit is contained in:
elbandi 2016-07-19 20:29:23 +02:00
parent 02e0fc4db5
commit 0316101b8e

2
util.c
View File

@ -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;