Kaydet (Commit) d4e6e5aa authored tarafından Thomas Arnhold's avatar Thomas Arnhold

WaE: unused variable nError

üst 5afdbaf3
...@@ -584,7 +584,6 @@ sal_Bool SAL_CALL osl_loadUserProfile(oslSecurity Security) ...@@ -584,7 +584,6 @@ sal_Bool SAL_CALL osl_loadUserProfile(oslSecurity Security)
LPFNLOADUSERPROFILE fLoadUserProfile = NULL; LPFNLOADUSERPROFILE fLoadUserProfile = NULL;
LPFNUNLOADUSERPROFILE fUnloadUserProfile = NULL; LPFNUNLOADUSERPROFILE fUnloadUserProfile = NULL;
HANDLE hAccessToken = ((oslSecurityImpl*)Security)->m_hToken; HANDLE hAccessToken = ((oslSecurityImpl*)Security)->m_hToken;
DWORD nError = 0;
/* try to create user profile */ /* try to create user profile */
if ( !hAccessToken ) if ( !hAccessToken )
...@@ -625,8 +624,6 @@ sal_Bool SAL_CALL osl_loadUserProfile(oslSecurity Security) ...@@ -625,8 +624,6 @@ sal_Bool SAL_CALL osl_loadUserProfile(oslSecurity Security)
bOk = TRUE; bOk = TRUE;
} }
else
nError = GetLastError();
rtl_uString_release(buffer); rtl_uString_release(buffer);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment