public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-1130] clang: fix -Wunused-parameter warning
@ 2022-06-16  6:50 Martin Liska
  0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2022-06-16  6:50 UTC (permalink / raw)
  To: gcc-cvs

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 ();
   }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-16  6:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-16  6:50 [gcc r13-1130] clang: fix -Wunused-parameter warning Martin Liska

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).