fix usage of uninit var
This commit is contained in:
parent
cd23cd48b4
commit
fd522b36c9
@ -399,9 +399,9 @@ SteamAPICall_t Steam_User::RequestEncryptedAppTicket( void *pDataToInclude, int
|
|||||||
|
|
||||||
for (int i = 0; i < 140; ++i)
|
for (int i = 0; i < 140; ++i)
|
||||||
{
|
{
|
||||||
AppId_t appid;
|
AppId_t appid{};
|
||||||
bool available;
|
bool available{};
|
||||||
std::string name;
|
std::string name{};
|
||||||
if (!settings->getDLC(appid, appid, available, name)) break;
|
if (!settings->getDLC(appid, appid, available, name)) break;
|
||||||
ticket.TicketV4.AppIDs.emplace_back(appid);
|
ticket.TicketV4.AppIDs.emplace_back(appid);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user