Michael Stefaniuc : crypt32: Remove an unused return variable (coccinelle) .
Alexandre Julliard
julliard at winehq.org
Wed Feb 27 15:30:30 CST 2019
Module: wine
Branch: master
Commit: 3e8720ae5ac0e19b26965f0b11fbf2ea9144431f
URL: https://source.winehq.org/git/wine.git/?a=commit;h=3e8720ae5ac0e19b26965f0b11fbf2ea9144431f
Author: Michael Stefaniuc <mstefani at 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 at winehq.org>
Signed-off-by: Alexandre Julliard <julliard at 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,
More information about the wine-cvs
mailing list