diff --git a/gcc/cp/decl2.cc b/gcc/cp/decl2.cc index a8f3e6e5fbad7..0c4492f7354c4 100644 --- a/gcc/cp/decl2.cc +++ b/gcc/cp/decl2.cc @@ -155,7 +155,7 @@ struct priority_map_traits { return false; } - template static void mark_deleted (T &entry) + template static void mark_deleted (T &) { gcc_unreachable (); }