From 02a4226a9088cf712fd6dbb1fc089679fb6bc183 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sun, 27 May 2007 07:24:22 +0000 Subject: [PATCH] Fix compile. --- stepmania/src/archutils/Unix/AssertionHandler.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/stepmania/src/archutils/Unix/AssertionHandler.cpp b/stepmania/src/archutils/Unix/AssertionHandler.cpp index cb8ad983ef..f49e04f4fd 100644 --- a/stepmania/src/archutils/Unix/AssertionHandler.cpp +++ b/stepmania/src/archutils/Unix/AssertionHandler.cpp @@ -19,7 +19,6 @@ extern "C" void __assert_fail( const char *assertion, const char *file, unsigned #else /* It'd be nice to just throw an exception here, but throwing an exception * through C code sometimes explodes. */ - RageException::CallCleanupHandler( error ); DoEmergencyShutdown(); @@ -36,7 +35,6 @@ extern "C" void __assert_perror_fail( int errnum, const char *file, unsigned int Checkpoints::SetCheckpoint( file, line, error ); sm_crash( strerror(errnum) ); #else - RageException::CallCleanupHandler( error ); DoEmergencyShutdown(); @@ -57,8 +55,6 @@ void UnexpectedExceptionHandler() const RString error = ssprintf("Unhandled exception: %s", iStatus? pName:pDem); #if defined(CRASH_HANDLER) sm_crash( error ); -#else - RageException::CallCleanupHandler( error ); #endif }