mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
rsx: Fix warning because of unused arguments
This commit is contained in:
parent
68cf570b58
commit
9e7902455d
2 changed files with 4 additions and 4 deletions
|
@ -4002,7 +4002,7 @@ struct registers_decoder<NV4097_NO_OPERATION>
|
|||
decoded_type(u32) {};
|
||||
};
|
||||
|
||||
static std::string dump(u32 &&decoded_values)
|
||||
static std::string dump(u32 &&)
|
||||
{
|
||||
return "(nop)";
|
||||
}
|
||||
|
@ -4016,7 +4016,7 @@ struct registers_decoder<NV4097_INVALIDATE_VERTEX_CACHE_FILE>
|
|||
decoded_type(u32) {};
|
||||
};
|
||||
|
||||
static std::string dump(u32 &&decoded_values)
|
||||
static std::string dump(u32 &&)
|
||||
{
|
||||
return "(invalidate vertex cache file)";
|
||||
}
|
||||
|
@ -4030,7 +4030,7 @@ struct registers_decoder<NV4097_INVALIDATE_VERTEX_FILE>
|
|||
decoded_type(u32) {};
|
||||
};
|
||||
|
||||
static std::string dump(u32 &&decoded_values)
|
||||
static std::string dump(u32 &&)
|
||||
{
|
||||
return "(invalidate vertex file)";
|
||||
}
|
||||
|
|
|
@ -80,7 +80,7 @@ namespace rsx
|
|||
namespace
|
||||
{
|
||||
template<typename T, size_t... N, typename Args>
|
||||
std::array<T, sizeof...(N)> fill_array(Args&& arg, std::index_sequence<N...> seq)
|
||||
std::array<T, sizeof...(N)> fill_array(Args&& arg, std::index_sequence<N...>)
|
||||
{
|
||||
return{ T(N, std::forward<Args>(arg))... };
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue