diff --git a/lib/symboldatabase.cpp b/lib/symboldatabase.cpp index 182b72e2504..9b3fbd91b60 100644 --- a/lib/symboldatabase.cpp +++ b/lib/symboldatabase.cpp @@ -7691,7 +7691,7 @@ ValueType::MatchResult ValueType::matchParameter(const ValueType *call, const Va if (call->typeScope != nullptr || func->typeScope != nullptr) { if (call->typeScope != func->typeScope && - !(call->typeScope && func->typeScope && call->typeScope->definedType && call->typeScope->definedType->isDerivedFrom(func->typeScope->className))) + !(call->typeScope && func->typeScope && call->typeScope->definedType && call->typeScope->definedType->isDerivedFrom(func->typeScope->className))) return ValueType::MatchResult::NOMATCH; }