aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/udp/udp.cpp
diff options
context:
space:
mode:
authorAmeer J <52414509+ameerj@users.noreply.github.com>2021-02-09 20:19:56 -0500
committerGitHub <noreply@github.com>2021-02-09 20:19:56 -0500
commit70db238f80c523ac3f807de18e822698cc39a135 (patch)
tree8265e28e6327fa7021aabd28469b5bcdcd1e8bd5 /src/input_common/udp/udp.cpp
parent245d60bfffdc00f1474053540a7f776612d427e6 (diff)
parenta352f34462887a3983fa0f2d27129d2bd0a8df6c (diff)
Merge pull request #5901 from lioncash/input-warn
udp: Silence warnings on Clang 12
Diffstat (limited to 'src/input_common/udp/udp.cpp')
-rw-r--r--src/input_common/udp/udp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input_common/udp/udp.cpp b/src/input_common/udp/udp.cpp
index b630281a0e..9829da6f00 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;
};