Просмотр исходного кода

udp: Silence unused member variable warnings

Simply mark them as unused for now.
Lioncash 5 лет назад
Родитель
Сommit
a352f34462
1 измененных файлов с 2 добавлено и 2 удалено
  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;
 };