[Ada] Minor tweaks to suppress warnings
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 9 Oct 2018 15:06:46 +0000 (15:06 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Tue, 9 Oct 2018 15:06:46 +0000 (15:06 +0000)
commit005f870e9145c83cba08cab71ed9c0de5bb08e2c
tree24092813a3bc51a0549f2115239c80f287591877
parentea891b439e876000d139e45f44c49b9436d195a4
[Ada] Minor tweaks to suppress warnings

2018-10-09  Eric Botcazou  <ebotcazou@adacore.com>

gcc/ada/

* adaint.c (__gnat_get_executable_suffix_ptr): Add new line.
(__gnat_locate_exec): Check that HOST_EXECUTABLE_SUFFIX is not
empty before doing a string search for it.
* socket.c (ATTRIBUTE_UNUSED): Define.
(__gnat_disable_sigpipe): Add ATTRIBUTE_UNUSED on parameter.
* terminals.c (ATTRIBUTE_UNUSED): Move around.
(__gnat_setup_child_communication): Add ATTRIBUTE_UNUSED on
parameter.
(__gnat_send_header): Add ATTRIBUTE_UNUSED on parameters.

From-SVN: r264982
gcc/ada/ChangeLog
gcc/ada/adaint.c
gcc/ada/socket.c
gcc/ada/terminals.c