Unused variables code cleanup

Code cleanup of unused payload variables for iclass legrec
This commit is contained in:
Antiklesys
2026-03-05 21:38:16 +08:00
parent 5041fbffa7
commit 0d2741d757
2 changed files with 0 additions and 9 deletions
-8
View File
@@ -4631,13 +4631,6 @@ static int iclass_recover(uint8_t key[8], uint32_t index_start, uint32_t loop, u
payload->req.send_reply = true;
payload->req.do_auth = true;
payload->req.shallow_mod = false;
payload->req2.use_raw = false;
payload->req2.use_elite = false;
payload->req2.use_credit_key = true;
payload->req2.use_replay = false;
payload->req2.send_reply = true;
payload->req2.do_auth = true;
payload->req2.shallow_mod = false;
payload->index = index_start;
payload->loop = loop;
payload->debug = debug;
@@ -4647,7 +4640,6 @@ static int iclass_recover(uint8_t key[8], uint32_t index_start, uint32_t loop, u
payload->credit_recovery = credit;
memcpy(payload->nfa, no_first_auth, PICOPASS_BLOCK_SIZE);
memcpy(payload->req.key, key, PICOPASS_BLOCK_SIZE);
memcpy(payload->req2.key, aa2_standard_key, PICOPASS_BLOCK_SIZE);
PrintAndLogEx(INFO, "Recover started...");
-1
View File
@@ -120,7 +120,6 @@ typedef struct {
typedef struct {
iclass_auth_req_t req;
iclass_auth_req_t req2;
uint32_t index;
uint32_t loop;
uint8_t nfa[8];