diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2022-05-21 11:18:55 +0100 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2022-06-02 10:39:49 +0100 |
commit | a7790128481894630414213603d3e894d764f802 (patch) | |
tree | 2d3e6749a62e9ca8120715adb43abbf33262cd58 /gdb/xcoffread.c | |
parent | a115c6d62e9f367dcf319a349ce452ec6518b667 (diff) | |
download | gdb-a7790128481894630414213603d3e894d764f802.zip gdb-a7790128481894630414213603d3e894d764f802.tar.gz gdb-a7790128481894630414213603d3e894d764f802.tar.bz2 |
Fix a new warning on Cygwin
> ../../gdb/windows-nat.c: In function ‘windows_solib* windows_make_so(const char*, LPVOID)’:
> ../../gdb/windows-nat.c:714:12: error: declaration of ‘char name [512]’ shadows a parameter [-Werror=shadow=compatible-local]
> 714 | char name[SO_NAME_MAX_PATH_SIZE];
> | ^~~~
> ../../gdb/windows-nat.c:655:30: note: shadowed declaration is here
> 655 | windows_make_so (const char *name, LPVOID load_addr)
> | ~~~~~~~~~~~~^~~~
Diffstat (limited to 'gdb/xcoffread.c')
0 files changed, 0 insertions, 0 deletions