Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github committed Jun 17, 2024
1 parent b3979fc commit 9faaba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/checkother.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ void CheckOther::redundantAssignmentInSwitchError(const Token *tok1, const Token

void CheckOther::redundantAssignmentSameValueError(const Token *tok1, const Token* tok2, const std::string &var)
{
const ValueType::Value* val = tok1->getKnownValue(ValueFlow::Value::ValueType::SYMBOLIC);
const ValueFlow::Value* val = tok1->getKnownValue(ValueFlow::Value::ValueType::SYMBOLIC);
auto errorPath = val->errorPath;
errorPath.emplace_back(tok2, "");
reportError(errorPath, Severity::style, "redundantAssignment",
Expand Down

0 comments on commit 9faaba9

Please sign in to comment.