From 50c1e00509d5734a4872c3b30d035021d786ea36 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Fri, 26 Aug 2016 10:38:48 +1000 Subject: [PATCH] Remove unused var --- src/stratifier.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/stratifier.c b/src/stratifier.c index 2ea0a15f..37f36f85 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -1330,7 +1330,7 @@ static const unsigned char witness_nonce[32] = {0}; static const unsigned char witness_header[] = {0xaa, 0x21, 0xa9, 0xed}; static void gbt_witness_data(workbase_t *wb, json_t *txn_array) { - int i, binlen, binleft, txncount; + int i, binlen, txncount; json_t *arr_val; uchar *hashbin; const char* hash; @@ -1339,7 +1339,6 @@ static void gbt_witness_data(workbase_t *wb, json_t *txn_array) binlen = txncount * 32 + 32; hashbin = alloca(binlen + 32); memset(hashbin, 0, 32); - binleft = binlen / 32; for (i = 0; i < txncount; i++) { char binswap[32];