public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Martin Liska <marxin@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-1130] clang: fix -Wunused-parameter warning Date: Thu, 16 Jun 2022 06:50:36 +0000 (GMT) [thread overview] Message-ID: <20220616065036.747ED3858C56@sourceware.org> (raw) https://gcc.gnu.org/g:42858325e41177ba622a507c398dae2adbc017d6 commit r13-1130-g42858325e41177ba622a507c398dae2adbc017d6 Author: Martin Liska <mliska@suse.cz> Date: Thu Jun 16 08:48:39 2022 +0200 clang: fix -Wunused-parameter warning Fixes: gcc/cp/decl2.cc:158:54: warning: unused parameter 'entry' [-Wunused-parameter] gcc/cp/ChangeLog: * decl2.cc (struct priority_map_traits): Remove unused param. Diff: --- gcc/cp/decl2.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/cp/decl2.cc b/gcc/cp/decl2.cc index a8f3e6e5fba..0c4492f7354 100644 --- a/gcc/cp/decl2.cc +++ b/gcc/cp/decl2.cc @@ -155,7 +155,7 @@ struct priority_map_traits { return false; } - template <typename T> static void mark_deleted (T &entry) + template <typename T> static void mark_deleted (T &) { gcc_unreachable (); }
reply other threads:[~2022-06-16 6:50 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220616065036.747ED3858C56@sourceware.org \ --to=marxin@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).