mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 17:01:24 +12:00
Enable -Wunused-parameter
This commit is contained in:
parent
7205a93751
commit
87af905018
102 changed files with 1571 additions and 1463 deletions
|
@ -725,7 +725,7 @@ struct narrow_impl
|
|||
static_assert(std::is_void<To>::value, "narrow_impl<> specialization not found");
|
||||
|
||||
// Returns true if value cannot be represented in type To
|
||||
static constexpr bool test(const From& value)
|
||||
static constexpr bool test(const From&)
|
||||
{
|
||||
// Unspecialized cases (including cast to void) always considered narrowing
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue