diff --git a/dll/cpl/sysdm/userprofile.c b/dll/cpl/sysdm/userprofile.c index 2f36c0d6306..b266a97c5df 100644 --- a/dll/cpl/sysdm/userprofile.c +++ b/dll/cpl/sysdm/userprofile.c @@ -372,7 +372,6 @@ GetProfileName( static VOID AddUserProfile( _In_ HWND hwndListView, - _In_ PWSTR pszProfileSid, _In_ PSID pProfileSid, _In_ BOOL bMyProfile, _In_ HKEY hProfileKey) @@ -598,7 +597,6 @@ AddUserProfiles( if (ConvertStringSidToSid(szProfileSid, &pProfileSid)) { AddUserProfile(hwndListView, - pszProfileSid, pProfileSid, EqualSid(pProfileSid, pTokenUser->User.Sid), hProfileKey); @@ -620,7 +618,6 @@ AddUserProfiles( &hProfileKey) == ERROR_SUCCESS) { AddUserProfile(hwndListView, - pszProfileSid, pTokenUser->User.Sid, TRUE, hProfileKey);