dbghelp: Remove superfluous casts to self.

This commit is contained in:
Michael Stefaniuc 2023-05-19 19:01:15 +02:00 committed by Alexandre Julliard
parent 19cc1dbe56
commit cf3815dc59
2 changed files with 3 additions and 3 deletions

View file

@ -2148,7 +2148,7 @@ static void dwarf2_parse_inlined_subroutine(dwarf2_subprogram_t* subpgm,
subpgm->current_block ? &subpgm->current_block->symt : &subpgm->current_func->symt,
dwarf2_get_cpp_name(di, name.u.string),
&sig_type->symt, num_ranges);
subpgm->current_func = (struct symt_function*)inlined;
subpgm->current_func = inlined;
subpgm->current_block = NULL;
if (!dwarf2_fill_ranges(di, inlined->ranges, num_ranges))

View file

@ -2683,7 +2683,7 @@ static BOOL codeview_snarf(const struct msc_debug_info* msc_dbg,
(const unsigned char*)sym + length);
if (inlined)
{
curr_func = (struct symt_function*)inlined;
curr_func = inlined;
block = NULL;
}
else
@ -2704,7 +2704,7 @@ static BOOL codeview_snarf(const struct msc_debug_info* msc_dbg,
(const unsigned char*)sym + length);
if (inlined)
{
curr_func = (struct symt_function*)inlined;
curr_func = inlined;
block = NULL;
}
else