Fixed broken condition

This commit is contained in:
PKEuS 2017-03-01 11:42:14 +01:00
parent 2f0db369f0
commit 7eee6af4ce
1 changed files with 1 additions and 1 deletions

View File

@ -3811,7 +3811,7 @@ const Function* Scope::findFunction(const Token *tok, bool requireConst) const
bool passesFloat = Token::Match(callarg->typeStartToken(), "float|double"); bool passesFloat = Token::Match(callarg->typeStartToken(), "float|double");
if ((takesInt && passesInt) || (takesFloat && passesFloat)) if ((takesInt && passesInt) || (takesFloat && passesFloat))
fallback1++; fallback1++;
else if ((takesInt && passesFloat) || (takesInt && passesFloat)) else if ((takesInt && passesFloat) || (takesFloat && passesInt))
fallback2++; fallback2++;
} }
} }