advapi32: Don't shadow keychain_item in mac_write_credential.

oldstable
Hans Leidekker 2014-01-10 16:51:24 +01:00 committed by Alexandre Julliard
parent 2722c45173
commit 8953c74e34
1 changed files with 0 additions and 2 deletions

View File

@ -580,8 +580,6 @@ static DWORD mac_write_credential(const CREDENTIALW *credential, BOOL preserve_b
ERR("SecKeychainAddInternetPassword returned %ld\n", status);
if (status == errSecDuplicateItem)
{
SecKeychainItemRef keychain_item;
status = SecKeychainFindInternetPassword(NULL, strlen(servername), servername,
domain ? strlen(domain) : 0, domain,
strlen(username), username,