Skip to content

Commit 3f15b8e

Browse files
Update vf_analyzers.cpp
1 parent e6807a4 commit 3f15b8e

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

lib/vf_analyzers.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -675,8 +675,6 @@ struct ValueFlowAnalyzer : Analyzer {
675675
template<class F>
676676
std::vector<MathLib::bigint> evaluateInt(const Token* tok, F getProgramMemory) const
677677
{
678-
if (const ValueFlow::Value* v = tok->getKnownValue(ValueFlow::Value::ValueType::INT))
679-
return {static_cast<int>(v->intvalue)};
680678
std::vector<MathLib::bigint> result;
681679
ProgramMemory pm = getProgramMemory();
682680
if (Token::Match(tok, "&&|%oror%")) {

0 commit comments

Comments
 (0)