mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-09-21 15:56:21 +08:00
fix coverity
This commit is contained in:
parent
867750b7ee
commit
c85962f815
|
@ -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…
Reference in a new issue