We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6807a4 commit 3f15b8eCopy full SHA for 3f15b8e
1 file changed
lib/vf_analyzers.cpp
@@ -675,8 +675,6 @@ struct ValueFlowAnalyzer : Analyzer {
675
template<class F>
676
std::vector<MathLib::bigint> evaluateInt(const Token* tok, F getProgramMemory) const
677
{
678
- if (const ValueFlow::Value* v = tok->getKnownValue(ValueFlow::Value::ValueType::INT))
679
- return {static_cast<int>(v->intvalue)};
680
std::vector<MathLib::bigint> result;
681
ProgramMemory pm = getProgramMemory();
682
if (Token::Match(tok, "&&|%oror%")) {
0 commit comments