crypt32: Remove unused variables.
This commit is contained in:
parent
1089e165a4
commit
d3afff856e
|
@ -938,7 +938,6 @@ BOOL WINAPI CryptRegisterDefaultOIDFunction(DWORD dwEncodingType,
|
||||||
{
|
{
|
||||||
HKEY key;
|
HKEY key;
|
||||||
LPWSTR dlls;
|
LPWSTR dlls;
|
||||||
LPCWSTR existing;
|
|
||||||
BOOL ret = FALSE;
|
BOOL ret = FALSE;
|
||||||
|
|
||||||
TRACE("(%x, %s, %d, %s)\n", dwEncodingType, debugstr_a(pszFuncName),
|
TRACE("(%x, %s, %d, %s)\n", dwEncodingType, debugstr_a(pszFuncName),
|
||||||
|
@ -954,7 +953,7 @@ BOOL WINAPI CryptRegisterDefaultOIDFunction(DWORD dwEncodingType,
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
dlls = CRYPT_GetDefaultOIDDlls(key);
|
dlls = CRYPT_GetDefaultOIDDlls(key);
|
||||||
if ((existing = CRYPT_FindStringInMultiString(dlls, pwszDll)))
|
if (CRYPT_FindStringInMultiString(dlls, pwszDll))
|
||||||
SetLastError(ERROR_FILE_EXISTS);
|
SetLastError(ERROR_FILE_EXISTS);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -291,7 +291,6 @@ static PWINECRYPT_CERTSTORE CRYPT_SysRegOpenStoreW(HCRYPTPROV hCryptProv,
|
||||||
PWINECRYPT_CERTSTORE store = NULL;
|
PWINECRYPT_CERTSTORE store = NULL;
|
||||||
HKEY root;
|
HKEY root;
|
||||||
LPCWSTR base;
|
LPCWSTR base;
|
||||||
BOOL ret;
|
|
||||||
|
|
||||||
TRACE("(%ld, %08x, %s)\n", hCryptProv, dwFlags,
|
TRACE("(%ld, %08x, %s)\n", hCryptProv, dwFlags,
|
||||||
debugstr_w((LPCWSTR)pvPara));
|
debugstr_w((LPCWSTR)pvPara));
|
||||||
|
@ -304,7 +303,6 @@ static PWINECRYPT_CERTSTORE CRYPT_SysRegOpenStoreW(HCRYPTPROV hCryptProv,
|
||||||
if (!lstrcmpiW(storeName, rootW))
|
if (!lstrcmpiW(storeName, rootW))
|
||||||
return CRYPT_RootOpenStore(hCryptProv, dwFlags);
|
return CRYPT_RootOpenStore(hCryptProv, dwFlags);
|
||||||
|
|
||||||
ret = TRUE;
|
|
||||||
switch (dwFlags & CERT_SYSTEM_STORE_LOCATION_MASK)
|
switch (dwFlags & CERT_SYSTEM_STORE_LOCATION_MASK)
|
||||||
{
|
{
|
||||||
case CERT_SYSTEM_STORE_LOCAL_MACHINE:
|
case CERT_SYSTEM_STORE_LOCAL_MACHINE:
|
||||||
|
|
Loading…
Reference in New Issue