summaryrefslogtreecommitdiff
path: root/src/core/loader/loader.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2018-10-13 10:10:27 -0400
committerGravatar Lioncash2018-10-13 10:10:29 -0400
commit53a022148414d8bf0f24bea7be2860af730b7746 (patch)
tree0b89fa7b275920a7552674eeda4b7aba442151c4 /src/core/loader/loader.cpp
parentMerge pull request #1409 from DarkLordZach/key-derivation (diff)
downloadyuzu-53a022148414d8bf0f24bea7be2860af730b7746.tar.gz
yuzu-53a022148414d8bf0f24bea7be2860af730b7746.tar.xz
yuzu-53a022148414d8bf0f24bea7be2860af730b7746.zip
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/core/loader/loader.cpp')
0 files changed, 0 insertions, 0 deletions