From 9e7902455df29f15ed2f06f9d197827406bc8bd5 Mon Sep 17 00:00:00 2001 From: Vincent Lejeune Date: Sun, 31 Jul 2016 19:11:20 +0200 Subject: [PATCH] rsx: Fix warning because of unused arguments --- rpcs3/Emu/RSX/rsx_decode.h | 6 +++--- rpcs3/Emu/RSX/rsx_methods.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rpcs3/Emu/RSX/rsx_decode.h b/rpcs3/Emu/RSX/rsx_decode.h index 1832a81c15..04988967f9 100644 --- a/rpcs3/Emu/RSX/rsx_decode.h +++ b/rpcs3/Emu/RSX/rsx_decode.h @@ -4002,7 +4002,7 @@ struct registers_decoder decoded_type(u32) {}; }; - static std::string dump(u32 &&decoded_values) + static std::string dump(u32 &&) { return "(nop)"; } @@ -4016,7 +4016,7 @@ struct registers_decoder 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 decoded_type(u32) {}; }; - static std::string dump(u32 &&decoded_values) + static std::string dump(u32 &&) { return "(invalidate vertex file)"; } diff --git a/rpcs3/Emu/RSX/rsx_methods.h b/rpcs3/Emu/RSX/rsx_methods.h index 308bab3f54..16ebd772c6 100644 --- a/rpcs3/Emu/RSX/rsx_methods.h +++ b/rpcs3/Emu/RSX/rsx_methods.h @@ -80,7 +80,7 @@ namespace rsx namespace { template - std::array fill_array(Args&& arg, std::index_sequence seq) + std::array fill_array(Args&& arg, std::index_sequence) { return{ T(N, std::forward(arg))... }; }