aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorQrchackOfficial <qrchackofficial@gmail.com>2017-06-05 01:52:55 +0200
committerShadowNinja <shadowninja@minetest.net>2017-06-10 21:04:47 -0400
commit5cc8ad946efb3612eb6ea8655780b29fe4c62e19 (patch)
treed0edc2fa46e654e7443bedba942b1ec77ac4fef5 /src/client
parent7bfd53ba587a1be71c1f8b3ebc3208d59f4da9c1 (diff)
downloadminetest-5cc8ad946efb3612eb6ea8655780b29fe4c62e19.tar.gz
minetest-5cc8ad946efb3612eb6ea8655780b29fe4c62e19.tar.bz2
minetest-5cc8ad946efb3612eb6ea8655780b29fe4c62e19.zip
Remove superfluous pointer null checks
Diffstat (limited to 'src/client')
-rw-r--r--src/client/clientlauncher.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/client/clientlauncher.cpp b/src/client/clientlauncher.cpp
index aeab82512..76d879725 100644
--- a/src/client/clientlauncher.cpp
+++ b/src/client/clientlauncher.cpp
@@ -53,14 +53,11 @@ MainGameCallback *g_gamecallback = NULL;
ClientLauncher::~ClientLauncher()
{
- if (receiver)
- delete receiver;
+ delete receiver;
- if (input)
- delete input;
+ delete input;
- if (g_fontengine)
- delete g_fontengine;
+ delete g_fontengine;
if (device)
device->drop();