c-family: Remove names of unused parameters
authorJonathan Wakely <jwakely@redhat.com>
Tue, 15 Feb 2022 13:22:15 +0000 (13:22 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 17 Feb 2022 17:48:04 +0000 (17:48 +0000)
commit73a118c209fcbb73c3439ca70fb233a5dc87daf7
treee8c9c14e17db59795bdb6d32ae0a6d055e20e7b6
parentbc6d2f460a4c12e89c02525abdb182828ae8a27e
c-family: Remove names of unused parameters

C++ allows unnamed parameters, which means we don't need to call them
'dummy' and mark them with the unused attribute.

gcc/c-family/ChangeLog:

* c-pragma.cc (handle_pragma_pack): Remove parameter name.
(handle_pragma_weak): Likewise.
(handle_pragma_scalar_storage_order): Likewise.
(handle_pragma_redefine_extname): Likewise.
(handle_pragma_visibility): Likewise.
(handle_pragma_diagnostic): Likewise.
(handle_pragma_target): Likewise.
(handle_pragma_optimize): Likewise.
(handle_pragma_push_options): Likewise.
(handle_pragma_pop_options): Likewise.
(handle_pragma_reset_options): Likewise.
(handle_pragma_message): Likewise.
(handle_pragma_float_const_decimal64): Likewise.
gcc/c-family/c-pragma.cc