diff options
author | Tom Tromey <tom@tromey.com> | 2022-01-30 18:16:00 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-01-30 18:16:00 -0700 |
commit | a634f5af2f57db8028d75ccebc478146d42e3151 (patch) | |
tree | 865063617372bbc0766675640a70362febff9e06 /gdb/amd64-fbsd-tdep.c | |
parent | fb0a17c77d7f3196f0961cb52f0fad26aeec9d74 (diff) | |
download | binutils-a634f5af2f57db8028d75ccebc478146d42e3151.zip binutils-a634f5af2f57db8028d75ccebc478146d42e3151.tar.gz binutils-a634f5af2f57db8028d75ccebc478146d42e3151.tar.bz2 |
Remove unused variables in fbsd-tdep.c files
i386-fbsd-tdep.c and amd64-fbsd-tdep.c failed to build on my x86-64
Fedora 34 machine, using the system gcc, after a recent patch. These
two files now have unused variables, which provokes a warning in this
configuration.
I'm checking in this patch to remove the unused variables.
Diffstat (limited to 'gdb/amd64-fbsd-tdep.c')
-rw-r--r-- | gdb/amd64-fbsd-tdep.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/amd64-fbsd-tdep.c b/gdb/amd64-fbsd-tdep.c index f87c976..da5c297 100644 --- a/gdb/amd64-fbsd-tdep.c +++ b/gdb/amd64-fbsd-tdep.c @@ -158,8 +158,6 @@ amd64_fbsd_sigframe_init (const struct tramp_frame *self, struct trad_frame_cache *this_cache, CORE_ADDR func) { - struct gdbarch *gdbarch = get_frame_arch (this_frame); - enum bfd_endian byte_order = gdbarch_byte_order (gdbarch); CORE_ADDR sp = get_frame_register_unsigned (this_frame, AMD64_RSP_REGNUM); CORE_ADDR mcontext_addr = (sp |