aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2024-09-10 10:08:29 +0200
committerTom de Vries <tdevries@suse.de>2024-09-10 10:08:29 +0200
commitbc13da1980ceec05cff958d72a774b4373c9e00d (patch)
tree9a2f5fb3044ed6073045a763e2c7cd2679355741 /gdb/testsuite
parentc839a44c39161c9932d58c28c2949ab3bb94ea6f (diff)
downloadbinutils-bc13da1980ceec05cff958d72a774b4373c9e00d.zip
binutils-bc13da1980ceec05cff958d72a774b4373c9e00d.tar.gz
binutils-bc13da1980ceec05cff958d72a774b4373c9e00d.tar.bz2
[gdb/build] Fix unused var in corelow.c
On x86_64-linux, with gcc 7.5.0 and CFLAGS/CXXFLAGS="-O0 -g -Wall" I ran into a build breaker: ... gdb/corelow.c: In member function ‘void mapped_file_info::add(const char*, const char*, const char*, std::vector<mem_range>&&, const bfd_build_id*)’: gdb/corelow.c:1822:27: error: unused variable ‘it’ [-Werror=unused-variable] const auto [it, inserted] ^ ... Fix this by dropping the variable it. Tested on x86_64-linux. Reviewed-By: Lancelot Six<lancelot.six@amd.com>
Diffstat (limited to 'gdb/testsuite')
0 files changed, 0 insertions, 0 deletions