[PATCH] gold: quash unused-param warning in descriptors.cc
Ian Lance Taylor
iant@google.com
Thu Nov 1 22:23:00 GMT 2012
More information about the Binutils mailing list
Thu Nov 1 22:23:00 GMT 2012
- Previous message (by thread): [PATCH] gold: quash unused-param warning in descriptors.cc
- Next message (by thread): [PATCH] gold: quash unused-param warning in descriptors.cc
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, Nov 1, 2012 at 11:44 AM, Roland McGrath <mcgrathr@google.com> wrote: > // Mingw does not define F_SETFD. > #ifdef F_SETFD > fcntl(fd, F_SETFD, FD_CLOEXEC); > +#else > + (void) fd; > #endif > } No, use ATTRIBUTE_UNUSED. See, e.g., mremap.c. That patch is preapproved. Ian
- Previous message (by thread): [PATCH] gold: quash unused-param warning in descriptors.cc
- Next message (by thread): [PATCH] gold: quash unused-param warning in descriptors.cc
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list