advapi32: Don't shadow keychain_item in mac_write_credential.
This commit is contained in:
parent
2722c45173
commit
8953c74e34
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue