Commit 8953c74e authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

advapi32: Don't shadow keychain_item in mac_write_credential.

parent 2722c451
......@@ -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,
......
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