Hans Leidekker : advapi32: Don' t shadow keychain_item in mac_write_credential.

Alexandre Julliard julliard at winehq.org
Fri Jan 10 13:22:47 CST 2014


Module: wine
Branch: master
Commit: 8953c74e349928a5c81d3cea9ffe264c81c3ab65
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8953c74e349928a5c81d3cea9ffe264c81c3ab65

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Fri Jan 10 16:51:24 2014 +0100

advapi32: Don't shadow keychain_item in mac_write_credential.

---

 dlls/advapi32/cred.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/dlls/advapi32/cred.c b/dlls/advapi32/cred.c
index 218c84f..b806019 100644
--- a/dlls/advapi32/cred.c
+++ b/dlls/advapi32/cred.c
@@ -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,




More information about the wine-cvs mailing list