Commit cf3815dc authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

dbghelp: Remove superfluous casts to self.

parent 19cc1dbe
......@@ -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))
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment