https://git.reactos.org/?p=reactos.git;a=commitdiff;h=7b17d8d9005a5f788f6eb…
commit 7b17d8d9005a5f788f6eb3718ebbd91c67633234
Author:     Mark Jansen <mark.jansen(a)reactos.org>
AuthorDate: Sun Sep 13 14:29:17 2020 +0200
Commit:     Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Sun Oct 4 19:34:20 2020 +0200
    [BROWSEUI] Remove refactoring leftovers
---
 dll/win32/browseui/shellbrowser.cpp | 4 ----
 1 file changed, 4 deletions(-)
diff --git a/dll/win32/browseui/shellbrowser.cpp b/dll/win32/browseui/shellbrowser.cpp
index dc83e60db98..8ef99aae6f0 100644
--- a/dll/win32/browseui/shellbrowser.cpp
+++ b/dll/win32/browseui/shellbrowser.cpp
@@ -913,7 +913,6 @@ long IEGetNameAndFlags(LPITEMIDLIST pidl, SHGDNF uFlags, LPWSTR
pszBuf, UINT cch
 HRESULT CShellBrowser::BrowseToPath(IShellFolder *newShellFolder,
     LPCITEMIDLIST absolutePIDL, FOLDERSETTINGS *folderSettings, long flags)
 {
-    CComPtr<IObjectWithSite>                objectWithSite;
     CComPtr<IShellFolder>                   saveCurrentShellFolder;
     CComPtr<IShellView>                     saveCurrentShellView;
     CComPtr<IShellView>                     newShellView;
@@ -989,9 +988,6 @@ HRESULT CShellBrowser::BrowseToPath(IShellFolder *newShellFolder,
         return hResult;
     }
-    if (objectWithSite.p != NULL)
-        hResult = objectWithSite->SetSite(NULL);
-
     // update current pidl
     ILFree(fCurrentDirectoryPIDL);
     fCurrentDirectoryPIDL = ILClone(absolutePIDL);