mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-21 13:53:26 -07:00
Fixed all "misleading-indentation" warnings (fixes #187).
This commit is contained in:
parent
9b3c48688e
commit
2943527472
4 changed files with 12 additions and 10 deletions
|
@ -81,10 +81,9 @@ size_t removeParity(uint8_t *BitStream, size_t startIdx, uint8_t pLen, uint8_t p
|
|||
j--; // overwrite parity with next data
|
||||
// if parity fails then return 0
|
||||
switch (pType) {
|
||||
case 3: if (BitStream[j]==1) return 0; break; //should be 0 spacer bit
|
||||
case 2: if (BitStream[j]==0) return 0; break; //should be 1 spacer bit
|
||||
default: //test parity
|
||||
if (parityTest(parityWd, pLen, pType) == 0) return 0; break;
|
||||
case 3: if (BitStream[j]==1) {return 0;} break; //should be 0 spacer bit
|
||||
case 2: if (BitStream[j]==0) {return 0;} break; //should be 1 spacer bit
|
||||
default: if (parityTest(parityWd, pLen, pType) == 0) {return 0;} break; //test parity
|
||||
}
|
||||
bitCnt+=(pLen-1);
|
||||
parityWd = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue