fix "missing braces around initializer"

Fixes #20
This commit is contained in:
zhibiao.pan 2016-03-31 17:36:36 +08:00 committed by Rusty Russell
parent 5e7b3d02a1
commit e8a83c3f76
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ static void process_transactions(struct bitcoin_cli *bcli)
end = json_next(tokens);
for (t = tokens + 1; t < end; t = json_next(t)) {
struct sha256_double txid, blkhash = { 0 };
struct sha256_double txid, blkhash;
const jsmntok_t *txidtok, *conftok, *blkindxtok, *blktok;
unsigned int conf;
bool is_coinbase;