mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-22 06:13:51 -07:00
cppcheck fix - duplicate condition
This commit is contained in:
parent
cd19bf81a8
commit
78cc7e10a5
1 changed files with 1 additions and 3 deletions
|
@ -1293,10 +1293,8 @@ static int CmdHF14AMfUInfo(const char *Cmd) {
|
||||||
// re-select
|
// re-select
|
||||||
if (ul_auth_select(&card, tagtype, hasAuthKey, authkeyptr, pack, sizeof(pack)) == PM3_ESOFT) return PM3_ESOFT;
|
if (ul_auth_select(&card, tagtype, hasAuthKey, authkeyptr, pack, sizeof(pack)) == PM3_ESOFT) return PM3_ESOFT;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// Get Version
|
// Get Version
|
||||||
if ((tagtype & (UL_EV1_48 | UL_EV1_128 | UL_EV1 | UL_NANO_40 | NTAG_213 | NTAG_213_F | NTAG_215 | NTAG_216 | NTAG_216_F | NTAG_I2C_1K | NTAG_I2C_2K | NTAG_I2C_1K_PLUS | NTAG_I2C_2K_PLUS))) {
|
|
||||||
uint8_t version[10] = {0x00};
|
uint8_t version[10] = {0x00};
|
||||||
status = ulev1_getVersion(version, sizeof(version));
|
status = ulev1_getVersion(version, sizeof(version));
|
||||||
if (status == -1) {
|
if (status == -1) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue