diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-05-30 18:42:17 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-05-30 18:42:17 +0000 |
commit | 5a8b86270bbce5f9316ef7bdaa1a20b4832335ca (patch) | |
tree | 0b4afd5b7550e3efa0c237aa9ec9b15c2f090e01 /gdb/ChangeLog | |
parent | 366f550a593c7e6bae3699a4b6d65fe937af5603 (diff) | |
download | gdb-5a8b86270bbce5f9316ef7bdaa1a20b4832335ca.zip gdb-5a8b86270bbce5f9316ef7bdaa1a20b4832335ca.tar.gz gdb-5a8b86270bbce5f9316ef7bdaa1a20b4832335ca.tar.bz2 |
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.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 30714f5..f45ff09 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2020-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org> + * gnu-nat.c (gnu_xfer_auxv): Remove unused `res' variable. + (gnu_nat_target::find_memory_regions): Remove unused + `old_address' variable. + +2020-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org> + * gnu-nat.c: Include "gdbarch.h". 2020-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org> |