forked from qt-creator/qt-creator
Removed the extra check for || when used together with &&.
This commit is contained in:
@@ -406,8 +406,6 @@ public:
|
||||
if (binaryToken.is(T_AMPER_AMPER) || binaryToken.is(T_PIPE_PIPE)) {
|
||||
if (contains(condition->binary_op_token))
|
||||
return index;
|
||||
if (binaryToken.is(T_PIPE_PIPE))
|
||||
return -1;
|
||||
} else {
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user