From d04abd39eb3dd5333cbd84e2bb6ad7e4f438de34 Mon Sep 17 00:00:00 2001 From: bunnei Date: Mon, 23 Nov 2020 18:11:21 -0800 Subject: Fix warnings in core/frontend/input.h with [[maybe_unused]] Fixes build break due to #4927 --- src/core/frontend/input.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/core/frontend/input.h') diff --git a/src/core/frontend/input.h b/src/core/frontend/input.h index 95c2848eb..11c2e96ca 100644 --- a/src/core/frontend/input.h +++ b/src/core/frontend/input.h @@ -33,7 +33,9 @@ public: virtual bool GetAnalogDirectionStatus([[maybe_unused]] AnalogDirection direction) const { return {}; } - virtual bool SetRumblePlay(f32 amp_low, f32 freq_low, f32 amp_high, f32 freq_high) const { + virtual bool SetRumblePlay([[maybe_unused]] f32 amp_low, [[maybe_unused]] f32 freq_low, + [[maybe_unused]] f32 amp_high, + [[maybe_unused]] f32 freq_high) const { return {}; } }; -- cgit v1.2.3