Skip to content

Commit 5bcc37b

Browse files
committed
Fix
1 parent f748460 commit 5bcc37b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/symboldatabase.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2368,7 +2368,7 @@ bool SymbolDatabase::isRecordTypeWithoutSideEffects(const Type* type) const
23682368
for (const Variable& var : type->classScope->varlist) {
23692369
withoutSideEffects = isVariableWithoutSideEffects(var, type);
23702370
if (!withoutSideEffects) {
2371-
return withoutSideEffects;
2371+
return false;
23722372
}
23732373
}
23742374
return (withoutSideEffects = true);

0 commit comments

Comments
 (0)