[lldb][DWARFASTParserClang][NFC] Remove redundant local variable

Tiny improvement to reviewability of an upcoming refactor.
This commit is contained in:
Michael Buch
2025-01-20 15:18:03 +00:00
parent 59dffce8c8
commit aeffc01a72

View File

@@ -3127,7 +3127,6 @@ size_t DWARFASTParserClang::ParseChildParameters(
}
}
bool skip = false;
if (is_artificial) {
// In order to determine if a C++ member function is "const" we
// have to look at the const-ness of "this"...
@@ -3150,10 +3149,7 @@ size_t DWARFASTParserClang::ParseChildParameters(
}
}
}
skip = true;
}
if (!skip) {
} else {
Type *type = die.ResolveTypeUID(param_type_die_form.Reference());
if (type) {
function_param_types.push_back(type->GetForwardCompilerType());