Skip to content

Commit

Permalink
clang: fix -Wunused-parameter warning
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
marxin committed Jun 16, 2022
1 parent 4a0aad8 commit 4285832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcc/cp/decl2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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 ();
}
Expand Down

0 comments on commit 4285832

Please sign in to comment.