lsteamclient: Don't return status from steamclient_init_registry().

It's not used for anything anyway. Trying to use unix call's return
value just makes it hard to assert on actual errors like exceptions.
This commit is contained in:
Arkadiusz Hiler 2025-05-13 10:05:41 +03:00
parent 89c9625118
commit ba22723f0c
2 changed files with 3 additions and 4 deletions

View File

@ -618,9 +618,8 @@ void CDECL Steam_NotifyMissingInterface( int32_t hSteamPipe, const char *pchVers
STEAMCLIENT_CALL( steamclient_Steam_NotifyMissingInterface, &params );
}
BOOL CDECL steamclient_init_registry(void)
void steamclient_init_registry(void)
{
load_steamclient();
if (STEAMCLIENT_CALL( steamclient_init_registry, NULL )) return FALSE;
return TRUE;
STEAMCLIENT_CALL( steamclient_init_registry, NULL );
}

View File

@ -685,7 +685,7 @@ static NTSTATUS steamclient_init_registry( Params *params, bool wow64 )
{
ERR( "Failed to connect to Steam\n" );
if (pipe) client->BReleaseSteamPipe( pipe );
return -1;
return 0;
}
setup_steam_registry( client, pipe, user );