Commit 53a02214 authored by Lioncash's avatar Lioncash
Browse files

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.
parent 1584fb6b
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment