From a352f34462887a3983fa0f2d27129d2bd0a8df6c Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 9 Feb 2021 17:38:42 -0500 Subject: udp: Silence unused member variable warnings Simply mark them as unused for now. --- src/input_common/udp/udp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/input_common/udp') diff --git a/src/input_common/udp/udp.cpp b/src/input_common/udp/udp.cpp index b630281a0..9829da6f0 100644 --- a/src/input_common/udp/udp.cpp +++ b/src/input_common/udp/udp.cpp @@ -84,8 +84,8 @@ public: private: const std::string ip; - const u16 port; - const u16 pad; + [[maybe_unused]] const u16 port; + [[maybe_unused]] const u16 pad; CemuhookUDP::Client* client; mutable std::mutex mutex; }; -- cgit v1.2.3