Skip to content

Commit 23590be

Browse files
Update astutils.cpp
1 parent b1c6845 commit 23590be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/astutils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3686,7 +3686,7 @@ bool isGlobalData(const Token *expr)
36863686
globalData = true;
36873687
return ChildrenToVisit::none;
36883688
}
3689-
if (lhsvar->isArgument() && (!lhstype || (lhstype->type <= ValueType::Type::VOID && !lhstype->container))) {
3689+
if (lhsvar->isArgument() && lhstype->type <= ValueType::Type::VOID && !lhstype->container) {
36903690
globalData = true;
36913691
return ChildrenToVisit::none;
36923692
}

0 commit comments

Comments
 (0)