MP1: Make use of nullptr where applicable

Same behavior, more indicative of what is being passed.
This commit is contained in:
Lioncash 2020-04-09 17:18:36 -04:00
parent aabc0b7114
commit 0e4bd8bf13
1 changed files with 1 additions and 1 deletions

View File

@ -633,7 +633,7 @@ static u32 DiscordItemPercent = 0xffffffff;
static std::string DiscordState; static std::string DiscordState;
void CMain::InitializeDiscord() { void CMain::InitializeDiscord() {
DiscordStartTime = time(0); DiscordStartTime = std::time(nullptr);
DiscordEventHandlers handlers = {}; DiscordEventHandlers handlers = {};
handlers.ready = HandleDiscordReady; handlers.ready = HandleDiscordReady;
handlers.disconnected = HandleDiscordDisconnected; handlers.disconnected = HandleDiscordDisconnected;