summaryrefslogtreecommitdiff
path: root/src/modules/options/headerbar.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-11-13 20:02:40 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-11-13 20:02:40 +0000
commitca9e826e27ec51c2cff31545204bb462cdd9fb63 (patch)
treecae073a63e0373c7d22f165b9f2e33d3ef018b07 /src/modules/options/headerbar.cpp
parent71caeef7aa7f9be45ade54549f21be95864268e7 (diff)
not needed NULL checks
git-svn-id: http://svn.miranda-ng.org/main/trunk@10984 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/options/headerbar.cpp')
-rw-r--r--src/modules/options/headerbar.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/modules/options/headerbar.cpp b/src/modules/options/headerbar.cpp
index f3d19c8bdc..c643a4732d 100644
--- a/src/modules/options/headerbar.cpp
+++ b/src/modules/options/headerbar.cpp
@@ -290,8 +290,6 @@ static LRESULT CALLBACK MHeaderbarWndProc(HWND hwndDlg, UINT msg, WPARAM wParam
switch(msg) {
case WM_NCCREATE:
itc = new MHeaderbarCtrl; //(MHeaderbarCtrl*)mir_alloc(sizeof(MHeaderbarCtrl));
- if (itc == NULL)
- return FALSE;
SetWindowLongPtr(hwndDlg, 0, (LONG_PTR)itc);
MHeaderbar_SetupColors(itc);