mirror of
https://github.com/godotengine/godot-platform-haiku.git
synced 2026-01-06 14:10:06 +03:00
Remove unnecessary null pointer checks
This commit is contained in:
@@ -118,7 +118,6 @@ void AudioDriverMediaKit::unlock() {
|
||||
}
|
||||
|
||||
void AudioDriverMediaKit::finish() {
|
||||
if (player)
|
||||
delete player;
|
||||
|
||||
if (samples_in) {
|
||||
|
||||
@@ -16,9 +16,7 @@ HaikuDirectWindow::HaikuDirectWindow(BRect p_frame)
|
||||
|
||||
|
||||
HaikuDirectWindow::~HaikuDirectWindow() {
|
||||
if (update_runner) {
|
||||
delete update_runner;
|
||||
}
|
||||
}
|
||||
|
||||
void HaikuDirectWindow::SetHaikuGLView(HaikuGLView* p_view) {
|
||||
|
||||
Reference in New Issue
Block a user