From cabf9234849508ba7285d1a5bafd3bab692eb80f Mon Sep 17 00:00:00 2001 From: Emmanuel Leblond Date: Mon, 4 Jan 2016 11:46:16 +0100 Subject: Remove unnecessary null pointer checks --- platform/windows/os_windows.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'platform/windows/os_windows.cpp') diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp index 95bfa2ea94..8c564842a1 100644 --- a/platform/windows/os_windows.cpp +++ b/platform/windows/os_windows.cpp @@ -1144,8 +1144,7 @@ void OS_Windows::finalize_core() { if (mempool_dynamic) memdelete( mempool_dynamic ); - if (mempool_static) - delete mempool_static; + delete mempool_static; TCPServerWinsock::cleanup(); -- cgit v1.2.3