https://git.reactos.org/?p=reactos.git;a=commitdiff;h=72e5c2e77c447825b82d1…
commit 72e5c2e77c447825b82d19977ea3180067483908
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Tue Oct 22 09:43:34 2019 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Tue Oct 22 09:43:34 2019 +0900
[CPL][DESK] hShell32 is always non-NULL in epilogue
---
dll/cpl/desk/advmon.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dll/cpl/desk/advmon.c b/dll/cpl/desk/advmon.c
index f363b66a160..141f6ffe479 100644
--- a/dll/cpl/desk/advmon.c
+++ b/dll/cpl/desk/advmon.c
@@ -140,8 +140,7 @@ DisplayAdvancedSettings(HWND hWndParent, PDISPLAY_DEVICE_ENTRY
DisplayDevice)
IDataObject_Release(pdo);
#ifdef _MSC_VER
- if (hShell32)
- FreeLibrary(hShell32);
+ FreeLibrary(hShell32);
#endif
return Ret;