From fd522b36c9ca17100c275c6ac76b834a6c29b18f Mon Sep 17 00:00:00 2001 From: otavepto <153766569+otavepto@users.noreply.github.com> Date: Thu, 16 May 2024 19:40:14 +0300 Subject: [PATCH] fix usage of uninit var --- dll/steam_user.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dll/steam_user.cpp b/dll/steam_user.cpp index 2bef1970..d5f371da 100644 --- a/dll/steam_user.cpp +++ b/dll/steam_user.cpp @@ -399,9 +399,9 @@ SteamAPICall_t Steam_User::RequestEncryptedAppTicket( void *pDataToInclude, int for (int i = 0; i < 140; ++i) { - AppId_t appid; - bool available; - std::string name; + AppId_t appid{}; + bool available{}; + std::string name{}; if (!settings->getDLC(appid, appid, available, name)) break; ticket.TicketV4.AppIDs.emplace_back(appid); }