https://git.reactos.org/?p=reactos.git;a=commitdiff;h=68cb54dc58251d7ee8cabe...
commit 68cb54dc58251d7ee8cabebe42421a44796eba9c Author: Timo Kreuzer timo.kreuzer@reactos.org AuthorDate: Sun Sep 27 17:30:18 2020 +0200 Commit: Timo Kreuzer timo.kreuzer@reactos.org CommitDate: Sun Sep 27 19:58:21 2020 +0200
[SHELL32] Fix usage of return value --- dll/win32/shell32/shellmenu/CStartMenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dll/win32/shell32/shellmenu/CStartMenu.cpp b/dll/win32/shell32/shellmenu/CStartMenu.cpp index 8831ab860b5..d701013f160 100644 --- a/dll/win32/shell32/shellmenu/CStartMenu.cpp +++ b/dll/win32/shell32/shellmenu/CStartMenu.cpp @@ -517,7 +517,7 @@ RSHELL_CStartMenu_CreateInstance(REFIID riid, void **ppv) pCallback->AddRef(); // CreateInstance returns object with 0 ref count */ pCallback->Initialize(pShellMenu, pBandSite, pDeskBar);
- pShellMenu->Initialize(pCallback, (UINT) -1, 0, SMINIT_TOPLEVEL | SMINIT_VERTICAL); + hr = pShellMenu->Initialize(pCallback, (UINT) -1, 0, SMINIT_TOPLEVEL | SMINIT_VERTICAL); if (FAILED_UNEXPECTEDLY(hr)) return hr;