mirror of
https://github.com/godotengine/godot-platform-haiku.git
synced 2026-01-04 06:09:42 +03:00
Remove unnecessary null pointer checks
This commit is contained in:
@@ -118,8 +118,7 @@ void AudioDriverMediaKit::unlock() {
|
||||
}
|
||||
|
||||
void AudioDriverMediaKit::finish() {
|
||||
if (player)
|
||||
delete player;
|
||||
delete player;
|
||||
|
||||
if (samples_in) {
|
||||
memdelete_arr(samples_in);
|
||||
|
||||
Reference in New Issue
Block a user