Parcourir la source

udp: Silence unused member variable warnings

Simply mark them as unused for now.
Lioncash il y a 5 ans
Parent
commit
a352f34462
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/input_common/udp/udp.cpp

+ 2 - 2
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;
 };