diff options
author | Tom de Vries <tdevries@suse.de> | 2025-02-06 07:35:09 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2025-02-06 07:35:09 +0100 |
commit | 7c40ebce17b02a53a6200424d0067f87707e82c3 (patch) | |
tree | 4848c12fc321c902bbc87460ce30d4341bd6219b /libiberty/vmsbuild.com | |
parent | 61ff640a3579dfdfde5e931e45c8454887654591 (diff) | |
download | fsf-binutils-gdb-master.zip fsf-binutils-gdb-master.tar.gz fsf-binutils-gdb-master.tar.bz2 |
On x86_64-linux, with gcc 7.5.0 I ran into a build breaker:
...
linux-fork.c: In function ‘void detach_checkpoint_command(const char*, int)’:
linux-fork.c:744:16: error: unused variable ‘inf’ [-Werror=unused-variable]
auto [fi, inf] = parse_checkpoint_id (args);
^
linux-fork.c: In function ‘void linux_fork_context(fork_info*, int, inferior*)’:
linux-fork.c:1020:22: error: unused variable ‘oldinf’ [-Werror=unused-variable]
auto [oldfp, oldinf] = find_fork_ptid (inferior_ptid);
^
...
Fix this by dropping the unused variables, similar how that was done in commit
bc13da1980c ("[gdb/build] Fix unused var in corelow.c").
Tested on x86_64-linux, by completing a build.
Diffstat (limited to 'libiberty/vmsbuild.com')
0 files changed, 0 insertions, 0 deletions