summaryrefslogtreecommitdiff
path: root/src/input_common/udp/client.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2020-11-23 21:00:59 -0800
committerGravatar GitHub2020-11-23 21:00:59 -0800
commit5ec6a265bf0049ee5541735bb925a9c7e68c8cb5 (patch)
tree9d9fd5a153647b40e26b6dc2d04bf4570c7db78c /src/input_common/udp/client.cpp
parentFix warnings in core/frontend/input.h with [[maybe_unused]] (diff)
parentinput_common: Add more missing [[maybe_unused]] from #4927. (diff)
downloadyuzu-5ec6a265bf0049ee5541735bb925a9c7e68c8cb5.tar.gz
yuzu-5ec6a265bf0049ee5541735bb925a9c7e68c8cb5.tar.xz
yuzu-5ec6a265bf0049ee5541735bb925a9c7e68c8cb5.zip
Merge pull request #4980 from bunnei/error-fixup
input_common: Add more missing [[maybe_unused]] from #4927.
Diffstat (limited to 'src/input_common/udp/client.cpp')
-rw-r--r--src/input_common/udp/client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input_common/udp/client.cpp b/src/input_common/udp/client.cpp
index 10b07d338..c0bb90048 100644
--- a/src/input_common/udp/client.cpp
+++ b/src/input_common/udp/client.cpp
@@ -189,11 +189,11 @@ void Client::ReloadSocket(const std::string& host, u16 port, std::size_t pad_ind
189 StartCommunication(client, host, port, pad_index, client_id); 189 StartCommunication(client, host, port, pad_index, client_id);
190} 190}
191 191
192void Client::OnVersion(Response::Version data) { 192void Client::OnVersion([[maybe_unused]] Response::Version data) {
193 LOG_TRACE(Input, "Version packet received: {}", data.version); 193 LOG_TRACE(Input, "Version packet received: {}", data.version);
194} 194}
195 195
196void Client::OnPortInfo(Response::PortInfo data) { 196void Client::OnPortInfo([[maybe_unused]] Response::PortInfo data) {
197 LOG_TRACE(Input, "PortInfo packet received: {}", data.model); 197 LOG_TRACE(Input, "PortInfo packet received: {}", data.model);
198} 198}
199 199