mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-07-05 20:41:34 -07:00
cppcheck identicalConditionAfterEarlyExit
This commit is contained in:
parent
b2a7a91bbd
commit
65eb649e58
1 changed files with 0 additions and 3 deletions
|
@ -484,9 +484,6 @@ void *mifare_cryto_preprocess_data(desfiretag_t tag, void *data, size_t *nbytes,
|
|||
// Copy again provided data (was overwritten by mifare_cypher_blocks_chained)
|
||||
memcpy(res, data, *nbytes);
|
||||
|
||||
if (!(communication_settings & MAC_COMMAND)) {
|
||||
break;
|
||||
}
|
||||
// Append MAC
|
||||
size_t bla = maced_data_length(DESFIRE(tag)->session_key, *nbytes - offset) + offset;
|
||||
(void)bla++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue