diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-02-18 19:59:36 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-02-18 21:33:01 +0100 |
commit | d4e6e5aab2f2157c00761944aba5e288954119b2 (patch) | |
tree | 240a37a7e47c27f24013453dfcf345932b22101d /sal | |
parent | 5afdbaf3a899562b088ac45ad6dfcb5ee33919d0 (diff) |
WaE: unused variable nError
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/w32/security.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sal/osl/w32/security.c b/sal/osl/w32/security.c index 2ae86850b440..2b9f119be16f 100644 --- a/sal/osl/w32/security.c +++ b/sal/osl/w32/security.c @@ -584,7 +584,6 @@ sal_Bool SAL_CALL osl_loadUserProfile(oslSecurity Security) LPFNLOADUSERPROFILE fLoadUserProfile = NULL; LPFNUNLOADUSERPROFILE fUnloadUserProfile = NULL; HANDLE hAccessToken = ((oslSecurityImpl*)Security)->m_hToken; - DWORD nError = 0; /* try to create user profile */ if ( !hAccessToken ) @@ -625,8 +624,6 @@ sal_Bool SAL_CALL osl_loadUserProfile(oslSecurity Security) bOk = TRUE; } - else - nError = GetLastError(); rtl_uString_release(buffer); } |