mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
cppcheck fix - duplicate condition
This commit is contained in:
parent
78cc7e10a5
commit
a7ececcb5d
1 changed files with 4 additions and 2 deletions
|
@ -578,8 +578,10 @@ static void print64bits(const char *name, uint64_t val) {
|
||||||
static uint64_t testCryptedCSN(uint64_t crypted_csn, uint64_t expected) {
|
static uint64_t testCryptedCSN(uint64_t crypted_csn, uint64_t expected) {
|
||||||
int retval = 0;
|
int retval = 0;
|
||||||
uint8_t result[8] = {0};
|
uint8_t result[8] = {0};
|
||||||
if (debug_print) PrintAndLogEx(DEBUG, "debug_print %d", debug_print);
|
if (debug_print) {
|
||||||
if (debug_print) print64bits(" {csn} ", crypted_csn);
|
PrintAndLogEx(DEBUG, "debug_print %d", debug_print);
|
||||||
|
print64bits(" {csn} ", crypted_csn);
|
||||||
|
}
|
||||||
|
|
||||||
uint64_t crypted_csn_swapped = swapZvalues(crypted_csn);
|
uint64_t crypted_csn_swapped = swapZvalues(crypted_csn);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue