Nikolay Sivov : shell32: Remove a couple of redundant lines.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Apr 7 10:11:28 CDT 2015


Module: wine
Branch: master
Commit: 1d3d0865608e16f5cdd651462677601e9f42222f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1d3d0865608e16f5cdd651462677601e9f42222f

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Tue Apr  7 12:41:28 2015 +0300

shell32: Remove a couple of redundant lines.

---

 dlls/shell32/shellitem.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/dlls/shell32/shellitem.c b/dlls/shell32/shellitem.c
index 9eb675a..d8cb6a8 100644
--- a/dlls/shell32/shellitem.c
+++ b/dlls/shell32/shellitem.c
@@ -1121,12 +1121,8 @@ static HRESULT WINAPI IShellItemArray_fnEnumItems(IShellItemArray *iface,
                                                   IEnumShellItems **ppenumShellItems)
 {
     IShellItemArrayImpl *This = impl_from_IShellItemArray(iface);
-    HRESULT hr;
     TRACE("%p (%p)\n", This, ppenumShellItems);
-
-    hr = IEnumShellItems_Constructor(iface, ppenumShellItems);
-
-    return hr;
+    return IEnumShellItems_Constructor(iface, ppenumShellItems);
 }
 
 static const IShellItemArrayVtbl vt_IShellItemArray = {




More information about the wine-cvs mailing list