crypt32: Remove an unused return variable (coccinelle).

returnvar.cocci from the Linux kernel.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2019-02-26 23:14:56 +01:00 committed by Alexandre Julliard
parent 79188582f0
commit 3e8720ae5a
1 changed files with 1 additions and 2 deletions

View File

@ -190,7 +190,6 @@ static char *CRYPT_GetKeyName(DWORD dwEncodingType, LPCSTR pszFuncName,
BOOL WINAPI CryptGetDefaultOIDDllList(HCRYPTOIDFUNCSET hFuncSet, BOOL WINAPI CryptGetDefaultOIDDllList(HCRYPTOIDFUNCSET hFuncSet,
DWORD dwEncodingType, LPWSTR pwszDllList, DWORD *pcchDllList) DWORD dwEncodingType, LPWSTR pwszDllList, DWORD *pcchDllList)
{ {
BOOL ret = TRUE;
struct OIDFunctionSet *set = hFuncSet; struct OIDFunctionSet *set = hFuncSet;
char *keyName; char *keyName;
HKEY key; HKEY key;
@ -228,7 +227,7 @@ BOOL WINAPI CryptGetDefaultOIDDllList(HCRYPTOIDFUNCSET hFuncSet,
} }
CryptMemFree(keyName); CryptMemFree(keyName);
return ret; return TRUE;
} }
BOOL WINAPI CryptInstallOIDFunctionAddress(HMODULE hModule, BOOL WINAPI CryptInstallOIDFunctionAddress(HMODULE hModule,