aboutsummaryrefslogtreecommitdiff
path: root/gdb/csky-tdep.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-03-22 11:20:28 -0600
committerTom Tromey <tom@tromey.com>2022-03-22 11:20:28 -0600
commitde8fd80cf997516710c4f30e17e346e531cb2a4f (patch)
tree1eeb02761532188ec5c42d169613777a9e13f08e /gdb/csky-tdep.c
parent86ed2a5eaef2d604c163031f4f355d3a8699f3d8 (diff)
downloadgdb-de8fd80cf997516710c4f30e17e346e531cb2a4f.zip
gdb-de8fd80cf997516710c4f30e17e346e531cb2a4f.tar.gz
gdb-de8fd80cf997516710c4f30e17e346e531cb2a4f.tar.bz2
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.
Diffstat (limited to 'gdb/csky-tdep.c')
-rw-r--r--gdb/csky-tdep.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/csky-tdep.c b/gdb/csky-tdep.c
index cba0065..0d0381c 100644
--- a/gdb/csky-tdep.c
+++ b/gdb/csky-tdep.c
@@ -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. */