mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 02:27:26 -07:00
fix coverity
This commit is contained in:
parent
867750b7ee
commit
c85962f815
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ int demodDestron(bool verbose) {
|
|||
parity_err += oddparity8(data[i]);
|
||||
data[i] &= 0x7F;
|
||||
}
|
||||
if (errCnt > 0) {
|
||||
if (parity_err > 0) {
|
||||
PrintAndLogEx(DEBUG, "DEBUG: Error - Destron: parity errors: %d", parity_err);
|
||||
return PM3_ESOFT;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue