[PATCH] shell32: Use the return value of ResetEnumerator (Coverity).

Sven Baars sven.wine at gmail.com
Wed Feb 20 05:04:17 CST 2019


Signed-off-by: Sven Baars <sven.wine at gmail.com>
---
 dlls/shell32/autocomplete.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/shell32/autocomplete.c b/dlls/shell32/autocomplete.c
index 36b0c5d7bc..6850ded0ab 100644
--- a/dlls/shell32/autocomplete.c
+++ b/dlls/shell32/autocomplete.c
@@ -1096,7 +1096,7 @@ static HRESULT WINAPI IAutoComplete2_fnSetOptions(
     if ((changed & ACO_FILTERPREFIXES) && This->txtbackup)
     {
         if (get_text_prefix_filtering(This->txtbackup) != prefix_filtering_none)
-            IAutoCompleteDropDown_ResetEnumerator(&This->IAutoCompleteDropDown_iface);
+            hr = IAutoCompleteDropDown_ResetEnumerator(&This->IAutoCompleteDropDown_iface);
     }
 
     return hr;
-- 
2.17.1




More information about the wine-devel mailing list