diff --git a/src/apps/debugger/debug_info/DwarfImageDebugInfo.cpp b/src/apps/debugger/debug_info/DwarfImageDebugInfo.cpp index 04f57608ee..2e29311615 100644 --- a/src/apps/debugger/debug_info/DwarfImageDebugInfo.cpp +++ b/src/apps/debugger/debug_info/DwarfImageDebugInfo.cpp @@ -1080,8 +1080,8 @@ DwarfImageDebugInfo::_EvaluateBaseTypeConstraints(DIEType* type, if (baseTypeOwnerEntry != NULL) { DwarfUtils::GetFullyQualifiedDIEName(baseTypeOwnerEntry, baseEntryName); - if (!baseEntryName.IsEmpty() && baseEntryName - != constraints.BaseTypeName()) + + if (baseEntryName != constraints.BaseTypeName()) return false; } }