mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
fix cppchecker
This commit is contained in:
parent
03e535ac67
commit
5cc79c7dfd
1 changed files with 2 additions and 4 deletions
|
@ -3757,8 +3757,6 @@ static int CmdHF14ADesDump(const char *Cmd) {
|
||||||
dfname_t dfnames[255];
|
dfname_t dfnames[255];
|
||||||
uint8_t dfname_count = 0;
|
uint8_t dfname_count = 0;
|
||||||
|
|
||||||
int res = 0;
|
|
||||||
|
|
||||||
if (handler_desfire_appids(app_ids, &app_ids_len) != PM3_SUCCESS) {
|
if (handler_desfire_appids(app_ids, &app_ids_len) != PM3_SUCCESS) {
|
||||||
PrintAndLogEx(ERR, "Can't get list of applications on tag");
|
PrintAndLogEx(ERR, "Can't get list of applications on tag");
|
||||||
DropFieldDesfire();
|
DropFieldDesfire();
|
||||||
|
@ -3796,7 +3794,7 @@ static int CmdHF14ADesDump(const char *Cmd) {
|
||||||
|
|
||||||
uint8_t num_keys = 0;
|
uint8_t num_keys = 0;
|
||||||
uint8_t key_setting = 0;
|
uint8_t key_setting = 0;
|
||||||
res = handler_desfire_getkeysettings(&key_setting, &num_keys);
|
int res = handler_desfire_getkeysettings(&key_setting, &num_keys);
|
||||||
if (res != PM3_SUCCESS) continue;
|
if (res != PM3_SUCCESS) continue;
|
||||||
|
|
||||||
res = handler_desfire_select_application(aid);
|
res = handler_desfire_select_application(aid);
|
||||||
|
@ -4410,7 +4408,7 @@ static int AuthCheckDesfire(uint8_t *aid,
|
||||||
des = true;
|
des = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
int error = PM3_SUCCESS;
|
int error;
|
||||||
bool badlen = false;
|
bool badlen = false;
|
||||||
|
|
||||||
if (des) {
|
if (des) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue