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/i386-fbsd-tdep.c | |
parent | fb0a17c77d7f3196f0961cb52f0fad26aeec9d74 (diff) | |
download | fsf-binutils-gdb-a634f5af2f57db8028d75ccebc478146d42e3151.zip fsf-binutils-gdb-a634f5af2f57db8028d75ccebc478146d42e3151.tar.gz fsf-binutils-gdb-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/i386-fbsd-tdep.c')
-rw-r--r-- | gdb/i386-fbsd-tdep.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/i386-fbsd-tdep.c b/gdb/i386-fbsd-tdep.c index 6a656dd..16ffd57 100644 --- a/gdb/i386-fbsd-tdep.c +++ b/gdb/i386-fbsd-tdep.c @@ -145,8 +145,6 @@ i386_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, I386_ESP_REGNUM); CORE_ADDR mcontext_addr = (sp |