mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
cppcheck unused
This commit is contained in:
parent
fb9f7d6562
commit
68d79527e5
1 changed files with 1 additions and 4 deletions
|
@ -1702,14 +1702,11 @@ static int CmdHFFelicaRequestService(const char *Cmd) {
|
||||||
|
|
||||||
uint8_t datalen = 13; // length (1) + CMD (1) + IDm(8) + Node Number (1) + Node Code List (2)
|
uint8_t datalen = 13; // length (1) + CMD (1) + IDm(8) + Node Number (1) + Node Code List (2)
|
||||||
|
|
||||||
uint8_t flags = FELICA_APPEND_CRC;
|
uint8_t flags = (FELICA_APPEND_CRC | FELICA_RAW);
|
||||||
if (custom_IDm) {
|
if (custom_IDm) {
|
||||||
flags |= FELICA_NO_SELECT;
|
flags |= FELICA_NO_SELECT;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (datalen > 0) {
|
|
||||||
flags |= FELICA_RAW;
|
|
||||||
}
|
|
||||||
// Todo activate once datalen isn't hardcoded anymore...
|
// Todo activate once datalen isn't hardcoded anymore...
|
||||||
if (custom_IDm == false && check_last_idm(data, datalen) == false) {
|
if (custom_IDm == false && check_last_idm(data, datalen) == false) {
|
||||||
return PM3_EINVARG;
|
return PM3_EINVARG;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue