Michael Stefaniuc : crypt32: Remove an unused return variable (coccinelle) .
Module: wine Branch: master Commit: 3e8720ae5ac0e19b26965f0b11fbf2ea9144431f URL: https://source.winehq.org/git/wine.git/?a=commit;h=3e8720ae5ac0e19b26965f0b1... Author: Michael Stefaniuc <mstefani(a)winehq.org> Date: Tue Feb 26 23:14:56 2019 +0100 crypt32: Remove an unused return variable (coccinelle). returnvar.cocci from the Linux kernel. Signed-off-by: Michael Stefaniuc <mstefani(a)winehq.org> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/crypt32/oid.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/crypt32/oid.c b/dlls/crypt32/oid.c index 6dc894e..bf0ad32 100644 --- a/dlls/crypt32/oid.c +++ b/dlls/crypt32/oid.c @@ -190,7 +190,6 @@ static char *CRYPT_GetKeyName(DWORD dwEncodingType, LPCSTR pszFuncName, BOOL WINAPI CryptGetDefaultOIDDllList(HCRYPTOIDFUNCSET hFuncSet, DWORD dwEncodingType, LPWSTR pwszDllList, DWORD *pcchDllList) { - BOOL ret = TRUE; struct OIDFunctionSet *set = hFuncSet; char *keyName; HKEY key; @@ -228,7 +227,7 @@ BOOL WINAPI CryptGetDefaultOIDDllList(HCRYPTOIDFUNCSET hFuncSet, } CryptMemFree(keyName); - return ret; + return TRUE; } BOOL WINAPI CryptInstallOIDFunctionAddress(HMODULE hModule,
participants (1)
-
Alexandre Julliard