From dff1597f6946d4adfb7f57d285e696647f9a2827 Mon Sep 17 00:00:00 2001 From: Fl0-0 Date: Tue, 26 Sep 2017 16:21:54 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20gcc=207=20warning:=20warning:=20duplicate?= =?UTF-8?q?=20=E2=80=98const=E2=80=99=20declaration=20specifier=20[-Wdupli?= =?UTF-8?q?cate-decl-specifier]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/hardnested/hardnested_bf_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/hardnested/hardnested_bf_core.c b/client/hardnested/hardnested_bf_core.c index 5e81c2ba..3c0c044f 100644 --- a/client/hardnested/hardnested_bf_core.c +++ b/client/hardnested/hardnested_bf_core.c @@ -342,7 +342,7 @@ const uint64_t CRACK_STATES_BITSLICED(uint32_t cuid, uint8_t *best_first_bytes, // } #endif // add the even state bits - const bitslice_t const *restrict bitsliced_even_state = bitsliced_even_states[block_idx]; + const bitslice_t *restrict bitsliced_even_state = bitsliced_even_states[block_idx]; for(uint32_t state_idx = 1; state_idx < STATE_SIZE; state_idx += 2) { state_p[state_idx] = bitsliced_even_state[state_idx/2]; }