hurd: remove unused variables
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 30 May 2020 18:42:17 +0000 (18:42 +0000)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 30 May 2020 18:42:17 +0000 (18:42 +0000)
commit5a8b86270bbce5f9316ef7bdaa1a20b4832335ca
tree0b4afd5b7550e3efa0c237aa9ec9b15c2f090e01
parent366f550a593c7e6bae3699a4b6d65fe937af5603
hurd: remove unused variables

Fixes

../../gdb/gnu-nat.c:2554:7: error: unused variable ‘res’ [-Werror=unused-variable]
 2554 |   int res;
../../gdb/gnu-nat.c:2644:20: error: unused variable ‘old_address’ [-Werror=unused-variable]
 2644 |       vm_address_t old_address = region_address;

gdb/ChangeLog:

* gnu-nat.c (gnu_xfer_auxv): Remove unused `res' variable.
(gnu_nat_target::find_memory_regions): Remove unused
`old_address' variable.
gdb/ChangeLog
gdb/gnu-nat.c