aboutsummaryrefslogtreecommitdiff
path: root/src/web_service/web_backend.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-10-13 10:10:27 -0400
committerLioncash <mathew1800@gmail.com>2018-10-13 10:10:29 -0400
commitab69b81d98ef39f3453863874bc9ab90d7b24f2e (patch)
tree0b89fa7b275920a7552674eeda4b7aba442151c4 /src/web_service/web_backend.cpp
parent0c76fa262247debfe8acdccea0dfac0738e4fac3 (diff)
yuzu/main: Apply the [[maybe_unused]] attribute to the parameter of SetDiscordEnabled()
Depending on whether or not USE_DISCORD_PRESENCE is defined, the "state" parameter can be used or unused. If USE_DISCORD_PRESENCE is not defined, the parameter will be considered unused, which can lead to compiler warnings. So, we can explicitly mark it with [[maybe_unused]] to inform the compiler that this is intentional.
Diffstat (limited to 'src/web_service/web_backend.cpp')
0 files changed, 0 insertions, 0 deletions