OSDN Git Service
(root)
/
winmerge-jp
/
winmerge-jp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dffc4ab
)
Update CWindowsManagerDialog (#811)
author
Flaviu_
<37621568+flaviu22@users.noreply.github.com>
Fri, 4 Jun 2021 15:31:13 +0000
(18:31 +0300)
committer
GitHub
<noreply@github.com>
Fri, 4 Jun 2021 15:31:13 +0000
(
00:31
+0900)
Make no sense to test m_pIL for nullptr in CWindowsManagerDialog destructor
Src/WindowsManagerDialog.cpp
patch
|
blob
|
history
diff --git
a/Src/WindowsManagerDialog.cpp
b/Src/WindowsManagerDialog.cpp
index
dd97d8b
..
6f2791b
100644
(file)
--- a/
Src/WindowsManagerDialog.cpp
+++ b/
Src/WindowsManagerDialog.cpp
@@
-29,8
+29,7
@@
CWindowsManagerDialog::~CWindowsManagerDialog()
{
if (NULL != m_pIL->GetSafeHandle())
m_pIL->DeleteImageList();
- if (NULL != m_pIL)
- delete m_pIL;
+ delete m_pIL;
}
void CWindowsManagerDialog::DoDataExchange(CDataExchange* pDX)