rsx: Fix warning because of unused arguments

This commit is contained in:
Vincent Lejeune 2016-07-31 19:11:20 +02:00
parent 68cf570b58
commit 9e7902455d
2 changed files with 4 additions and 4 deletions

View File

@ -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)";
}

View 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))... };
}