Skip to content

Commit e04cb02

Browse files
committed
programmemory.cpp: fixed variableScope selfcheck warning
1 parent 1049973 commit e04cb02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/programmemory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1394,8 +1394,8 @@ namespace {
13941394
if (conditions1.empty())
13951395
return unknown();
13961396
std::unordered_map<nonneg int, ValueFlow::Value> condValues = executeAll(conditions1, &b);
1397-
bool allNegated = true;
13981397
{
1398+
bool allNegated = true;
13991399
ValueFlow::Value negatedValue = unknown();
14001400
for (const auto& p : condValues) {
14011401
const ValueFlow::Value& v = p.second;

0 commit comments

Comments
 (0)