Commit 1d9af6cc authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Removed the extra check for || when used together with &&.

parent e825cbfd
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment