diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2021-11-15 21:38:44 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-11-15 21:38:44 -0500 |
commit | 39cdfdb2614ae5654f5aa77792085b37cb342929 (patch) | |
tree | f9b448a45a2cc88ec8fbbcaf159e1ad14f528a35 | |
parent | 2d2bb0d3f2931198b0824914d9dcf3cb0249926f (diff) | |
download | binutils-39cdfdb2614ae5654f5aa77792085b37cb342929.zip binutils-39cdfdb2614ae5654f5aa77792085b37cb342929.tar.gz binutils-39cdfdb2614ae5654f5aa77792085b37cb342929.tar.bz2 |
gdb: remove unused variables in xtensa-linux-nat.c
While build-testing this file, the compiler complained about these two
unused variables, remove them.
Change-Id: I3c54f779f12c16ef6184af58aca75eaad042ce4e
-rw-r--r-- | gdb/xtensa-linux-nat.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/xtensa-linux-nat.c b/gdb/xtensa-linux-nat.c index 54f1a0d..7bc1689 100644 --- a/gdb/xtensa-linux-nat.c +++ b/gdb/xtensa-linux-nat.c @@ -204,7 +204,6 @@ fetch_gregs (struct regcache *regcache, int regnum) { int tid = regcache->ptid ().lwp (); gdb_gregset_t regs; - int areg; if (ptrace (PTRACE_GETREGS, tid, 0, (long) ®s) < 0) { @@ -223,7 +222,6 @@ store_gregs (struct regcache *regcache, int regnum) { int tid = regcache->ptid ().lwp (); gdb_gregset_t regs; - int areg; if (ptrace (PTRACE_GETREGS, tid, 0, (long) ®s) < 0) { |