mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-16 02:03:00 -07:00
Fix typo and gcc-7 warnings (#401)
* Fix typo in hf mf csave help * Fix gcc 7 warning: '~' on an expression of type bool [-Wbool-operation], use logical ! not instead of ~ * Fix gcc 7 warning: ‘memset’ used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] * Fix gcc 7 warning: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]
This commit is contained in:
parent
1ece662f0f
commit
a2d058f3aa
4 changed files with 11 additions and 11 deletions
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue