From c425d193ae2a791104ff8aca5ce772362626c232 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 6 Dec 2004 07:34:25 +0000 Subject: [PATCH] new never returns null --- stepmania/src/NotesLoaderSM.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/stepmania/src/NotesLoaderSM.cpp b/stepmania/src/NotesLoaderSM.cpp index 158cfe424c..820024706d 100644 --- a/stepmania/src/NotesLoaderSM.cpp +++ b/stepmania/src/NotesLoaderSM.cpp @@ -351,8 +351,6 @@ bool SMLoader::LoadFromSMFile( CString sPath, Song &out ) } Steps* pNewNotes = new Steps; - ASSERT( pNewNotes ); - LoadFromSMTokens( sParams[1], sParams[2], @@ -454,8 +452,6 @@ bool SMLoader::LoadEdit( CString sEditFilePath, ProfileSlot slot ) } Steps* pNewNotes = new Steps; - ASSERT( pNewNotes ); - LoadFromSMTokens( sParams[1], sParams[2], sParams[3], sParams[4], sParams[5], sParams[6], *pNewNotes);