mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-09-22 00:06:13 +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]);
|
parity_err += oddparity8(data[i]);
|
||||||
data[i] &= 0x7F;
|
data[i] &= 0x7F;
|
||||||
}
|
}
|
||||||
if (errCnt > 0) {
|
if (parity_err > 0) {
|
||||||
PrintAndLogEx(DEBUG, "DEBUG: Error - Destron: parity errors: %d", parity_err);
|
PrintAndLogEx(DEBUG, "DEBUG: Error - Destron: parity errors: %d", parity_err);
|
||||||
return PM3_ESOFT;
|
return PM3_ESOFT;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue