fix cppchecker redundantcondition

This commit is contained in:
iceman1001 committed 2021-05-07 10:10:19 +02:00
1 parent deb08c0e66
commit 46782ed308
1 file changed
+1 -1
+1 -1
View File
@@ -1021,7 +1021,7 @@ int ExchangeAPDU14a(uint8_t *datain, int datainlen, bool activateField, bool lea
// check R-block ACK
//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)
DropField();