Skip to content

Commit

Permalink
Update checkstl.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github authored Apr 30, 2024
1 parent a72ebda commit f9e6436
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/checkstl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2494,7 +2494,6 @@ void CheckStl::checkDereferenceInvalidIterator2()
const ValueFlow::Value& lValue = getLifetimeIteratorValue(tok, cValue->path);
if (!lValue.isLifetimeValue())
continue;
assert(cValue->isInconclusive() || value.isInconclusive());
if (emptyAdvance)
outOfBoundsError(emptyAdvance,
lValue.tokvalue->expressionString(),
Expand Down

0 comments on commit f9e6436

Please sign in to comment.