Skip to content

Commit 32a0334

Browse files
authored
Merge pull request RPCS3#2010 from vlj/rsx-refactor
rsx: Fix warning because of unused arguments
2 parents 68cf570 + 9e79024 commit 32a0334

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

rpcs3/Emu/RSX/rsx_decode.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -4002,7 +4002,7 @@ struct registers_decoder<NV4097_NO_OPERATION>
40024002
decoded_type(u32) {};
40034003
};
40044004

4005-
static std::string dump(u32 &&decoded_values)
4005+
static std::string dump(u32 &&)
40064006
{
40074007
return "(nop)";
40084008
}
@@ -4016,7 +4016,7 @@ struct registers_decoder<NV4097_INVALIDATE_VERTEX_CACHE_FILE>
40164016
decoded_type(u32) {};
40174017
};
40184018

4019-
static std::string dump(u32 &&decoded_values)
4019+
static std::string dump(u32 &&)
40204020
{
40214021
return "(invalidate vertex cache file)";
40224022
}
@@ -4030,7 +4030,7 @@ struct registers_decoder<NV4097_INVALIDATE_VERTEX_FILE>
40304030
decoded_type(u32) {};
40314031
};
40324032

4033-
static std::string dump(u32 &&decoded_values)
4033+
static std::string dump(u32 &&)
40344034
{
40354035
return "(invalidate vertex file)";
40364036
}

rpcs3/Emu/RSX/rsx_methods.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ namespace rsx
8080
namespace
8181
{
8282
template<typename T, size_t... N, typename Args>
83-
std::array<T, sizeof...(N)> fill_array(Args&& arg, std::index_sequence<N...> seq)
83+
std::array<T, sizeof...(N)> fill_array(Args&& arg, std::index_sequence<N...>)
8484
{
8585
return{ T(N, std::forward<Args>(arg))... };
8686
}

0 commit comments

Comments
 (0)