Przeglądaj źródła

udp: Silence unused member variable warnings

Simply mark them as unused for now.
Lioncash 5 lat temu
rodzic
commit
a352f34462
1 zmienionych plików z 2 dodań i 2 usunięć
  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;
 };