fix cppchecker redundantcondition

This commit is contained in:
iceman1001 2021-05-07 10:10:19 +02:00
commit 46782ed308

View file

@ -1021,7 +1021,7 @@ int ExchangeAPDU14a(uint8_t *datain, int datainlen, bool activateField, bool lea
// check R-block ACK // check R-block ACK
//TODO check this one... //TODO check this one...
if ((*dataoutlen == 0) && (*dataoutlen != 0 || chaining != chainBlockNotLast)) { // *dataoutlen!=0. 'A && (!A || B)' is equivalent to 'A && B' if ((*dataoutlen == 0) && (chaining != chainBlockNotLast)) {
if (leaveSignalON == false) if (leaveSignalON == false)
DropField(); DropField();