From 34bfb3510567e66b6bb584ad7f8ec48ff2b5095e Mon Sep 17 00:00:00 2001 From: smatz Date: Tue, 24 Feb 2009 20:59:17 +0000 Subject: (svn r15568) -Cleanup: *allocT/AllocaM doesn't return NULL when allocating fails --- src/sound.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/sound.cpp') diff --git a/src/sound.cpp b/src/sound.cpp index 586d12c1a..9995ec190 100644 --- a/src/sound.cpp +++ b/src/sound.cpp @@ -111,7 +111,6 @@ static bool SetBankSource(MixerChannel *mc, const FileEntry *fe) if (fe->file_size == 0) return false; int8 *mem = MallocT(fe->file_size); - if (mem == NULL) return false; FioSeekToFile(fe->file_slot, fe->file_offset); FioReadBlock(mem, fe->file_size); -- cgit v1.2.3-54-g00ecf