From cd2d97873e4b63dda5113ee3b493279d3bf1a682 Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Tue, 10 Sep 2019 15:38:29 +0200 Subject: [PATCH] [SYSDM] Remove unused variables Thanks a lot Katayama Hirofumi for the hint! --- dll/cpl/sysdm/userprofile.c | 3 --- 1 file changed, 3 deletions(-) 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);