[SYSDM] Remove unused variables
authorEric Kohl <eric.kohl@reactos.org>
Tue, 10 Sep 2019 13:38:29 +0000 (15:38 +0200)
committerEric Kohl <eric.kohl@reactos.org>
Tue, 10 Sep 2019 13:38:29 +0000 (15:38 +0200)
Thanks a lot Katayama Hirofumi for the hint!

dll/cpl/sysdm/userprofile.c

index 2f36c0d..b266a97 100644 (file)
@@ -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);