Michael Stefaniuc : shell32: Remove unused return variables (coccinelle).
Alexandre Julliard
julliard at winehq.org
Tue Mar 12 16:56:16 CDT 2019
Module: wine
Branch: master
Commit: c7e6fafa4c609fe7e3d7464a0c70b9b16e32fb43
URL: https://source.winehq.org/git/wine.git/?a=commit;h=c7e6fafa4c609fe7e3d7464a0c70b9b16e32fb43
Author: Michael Stefaniuc <mstefani at winehq.org>
Date: Tue Mar 12 21:19:17 2019 +0100
shell32: Remove unused return variables (coccinelle).
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/shell32/autocomplete.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/dlls/shell32/autocomplete.c b/dlls/shell32/autocomplete.c
index 36b0c5d..bd9b872 100644
--- a/dlls/shell32/autocomplete.c
+++ b/dlls/shell32/autocomplete.c
@@ -923,13 +923,12 @@ static HRESULT WINAPI IAutoComplete2_fnEnable(
BOOL fEnable)
{
IAutoCompleteImpl *This = impl_from_IAutoComplete2(iface);
- HRESULT hr = S_OK;
TRACE("(%p)->(%s)\n", This, (fEnable)?"true":"false");
This->enabled = fEnable;
- return hr;
+ return S_OK;
}
/******************************************************************************
@@ -1063,13 +1062,12 @@ static HRESULT WINAPI IAutoComplete2_fnGetOptions(
DWORD *pdwFlag)
{
IAutoCompleteImpl *This = impl_from_IAutoComplete2(iface);
- HRESULT hr = S_OK;
TRACE("(%p) -> (%p)\n", This, pdwFlag);
*pdwFlag = This->options;
- return hr;
+ return S_OK;
}
/**************************************************************************
More information about the wine-cvs
mailing list