Remove two unused variables
I found a couple of spots that declare a symtab_and_line but don't actually use it. I think this probably isn't detected as unused because it has a constructor.
This commit is contained in:
parent
86ed2a5eae
commit
de8fd80cf9
2 changed files with 0 additions and 2 deletions
|
@ -1526,7 +1526,6 @@ static CORE_ADDR
|
|||
csky_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR pc)
|
||||
{
|
||||
CORE_ADDR func_addr, func_end;
|
||||
struct symtab_and_line sal;
|
||||
const int default_search_limit = 128;
|
||||
|
||||
/* See if we can find the end of the prologue using the symbol table. */
|
||||
|
|
|
@ -1126,7 +1126,6 @@ sparc_analyze_prologue (struct gdbarch *gdbarch, CORE_ADDR pc,
|
|||
static CORE_ADDR
|
||||
sparc32_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR start_pc)
|
||||
{
|
||||
struct symtab_and_line sal;
|
||||
CORE_ADDR func_addr;
|
||||
struct sparc_frame_cache cache;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue