1 parent f748460 commit 5bcc37bCopy full SHA for 5bcc37b
1 file changed
lib/symboldatabase.cpp
@@ -2368,7 +2368,7 @@ bool SymbolDatabase::isRecordTypeWithoutSideEffects(const Type* type) const
2368
for (const Variable& var : type->classScope->varlist) {
2369
withoutSideEffects = isVariableWithoutSideEffects(var, type);
2370
if (!withoutSideEffects) {
2371
- return withoutSideEffects;
+ return false;
2372
}
2373
2374
return (withoutSideEffects = true);
0 commit comments