mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-31 04:39:49 +08:00
fix coverity 263979 logically dead code
This commit is contained in:
parent
4e2d1e66ab
commit
982f4231f7
1 changed files with 2 additions and 1 deletions
|
@ -1367,7 +1367,8 @@ static int CmdHFFelicaRequestService(const char *Cmd) {
|
|||
flags |= FELICA_RAW;
|
||||
}
|
||||
|
||||
datalen = (datalen > PM3_CMD_DATA_SIZE) ? PM3_CMD_DATA_SIZE : datalen;
|
||||
// Todo activate once datalen isn't hardcoded anymore...
|
||||
// datalen = (datalen > PM3_CMD_DATA_SIZE) ? PM3_CMD_DATA_SIZE : datalen;
|
||||
if (!custom_IDm && !check_last_idm(data, datalen)) {
|
||||
return PM3_EINVARG;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue