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

This commit is contained in:
Roberto Raggi
2009-11-20 11:05:18 +01:00
parent e825cbfdc9
commit 1d9af6cc7d

View File

@@ -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;
}