summaryrefslogtreecommitdiffstats
path: root/drivers/unix
diff options
context:
space:
mode:
authorEmmanuel Leblond <emmanuel.leblond@gmail.com>2016-01-04 11:46:16 +0100
committerEmmanuel Leblond <emmanuel.leblond@gmail.com>2016-01-04 11:46:16 +0100
commitcabf9234849508ba7285d1a5bafd3bab692eb80f (patch)
treec681c777e8a8867a0bbd955558a92926653ba300 /drivers/unix
parentcb39db0b02c2d69994e2cd523844a2a9d3087d85 (diff)
downloadredot-engine-cabf9234849508ba7285d1a5bafd3bab692eb80f.tar.gz
Remove unnecessary null pointer checks
Diffstat (limited to 'drivers/unix')
-rw-r--r--drivers/unix/os_unix.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/unix/os_unix.cpp b/drivers/unix/os_unix.cpp
index bdf7daf799..be9bfe3166 100644
--- a/drivers/unix/os_unix.cpp
+++ b/drivers/unix/os_unix.cpp
@@ -149,8 +149,7 @@ void OS_Unix::finalize_core() {
if (mempool_dynamic)
memdelete( mempool_dynamic );
- if (mempool_static)
- delete mempool_static;
+ delete mempool_static;
}