From 39cdfdb2614ae5654f5aa77792085b37cb342929 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 15 Nov 2021 21:38:44 -0500 Subject: [PATCH] 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 --- gdb/xtensa-linux-nat.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gdb/xtensa-linux-nat.c b/gdb/xtensa-linux-nat.c index 54f1a0df0fe..7bc1689b9f5 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) { -- 2.30.2