mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
style
This commit is contained in:
parent
0224816208
commit
d91b576034
1 changed files with 3 additions and 3 deletions
|
@ -2355,7 +2355,6 @@ static int CmdHF14AMfAutoPWN(const char *Cmd) {
|
||||||
// Attack key storage variables
|
// Attack key storage variables
|
||||||
uint8_t *keyBlock = NULL;
|
uint8_t *keyBlock = NULL;
|
||||||
uint32_t key_cnt = 0;
|
uint32_t key_cnt = 0;
|
||||||
sector_t *e_sector;
|
|
||||||
uint8_t tmp_key[6] = {0};
|
uint8_t tmp_key[6] = {0};
|
||||||
|
|
||||||
// Nested and Hardnested returned status
|
// Nested and Hardnested returned status
|
||||||
|
@ -2398,8 +2397,9 @@ static int CmdHF14AMfAutoPWN(const char *Cmd) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// create/initialize key storage structure
|
// create/initialize key storage structure
|
||||||
uint32_t e_sector_size = sector_cnt > sectorno ? sector_cnt : sectorno + 1;
|
sector_t *e_sector = NULL;
|
||||||
if (initSectorTable(&e_sector, e_sector_size) != PM3_SUCCESS) {
|
uint32_t e_sector_cnt = (sector_cnt > sectorno) ? sector_cnt : sectorno + 1;
|
||||||
|
if (initSectorTable(&e_sector, e_sector_cnt) != PM3_SUCCESS) {
|
||||||
return PM3_EMALLOC;
|
return PM3_EMALLOC;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue