mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[SHELLFIND] Remove redundant check
This commit is contained in:
parent
2513c47452
commit
0eee3ed368
1 changed files with 1 additions and 8 deletions
|
@ -364,15 +364,8 @@ HRESULT STDMETHODCALLTYPE CSearchBar::SetSite(IUnknown *pUnkSite)
|
|||
{
|
||||
DestroyWindow();
|
||||
m_hWnd = NULL;
|
||||
}
|
||||
|
||||
if (pUnkSite != m_pSite)
|
||||
{
|
||||
m_pSite = NULL;
|
||||
}
|
||||
|
||||
if(!pUnkSite)
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
hr = IUnknown_GetWindow(pUnkSite, &parentWnd);
|
||||
if (!SUCCEEDED(hr))
|
||||
|
|
Loading…
Reference in a new issue