diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2016-01-11 12:00:44 +0100 |
---|---|---|
committer | Rémi Verschelde <remi@verschelde.fr> | 2016-01-11 12:00:44 +0100 |
commit | 7f82c8d7c5cbcb07bddf98a5006706d1f77c4444 (patch) | |
tree | c856982194ff120f5351b1c4e1821d98a43c904d /platform/haiku/haiku_direct_window.cpp | |
parent | cbdcd99b858d48e14d11ec186b34f7b398cfc11d (diff) | |
parent | cabf9234849508ba7285d1a5bafd3bab692eb80f (diff) |
Merge pull request #3230 from touilleMan/issue-55
Remove unnecessary null pointer checks
Diffstat (limited to 'platform/haiku/haiku_direct_window.cpp')
-rw-r--r-- | platform/haiku/haiku_direct_window.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/platform/haiku/haiku_direct_window.cpp b/platform/haiku/haiku_direct_window.cpp index 3914ee272a..184d64f840 100644 --- a/platform/haiku/haiku_direct_window.cpp +++ b/platform/haiku/haiku_direct_window.cpp @@ -16,9 +16,7 @@ HaikuDirectWindow::HaikuDirectWindow(BRect p_frame) HaikuDirectWindow::~HaikuDirectWindow() { - if (update_runner) { - delete update_runner; - } + delete update_runner; } void HaikuDirectWindow::SetHaikuGLView(HaikuGLView* p_view) { |