diff --git a/stepmania/src/RageException.cpp b/stepmania/src/RageException.cpp index b25f50c641..bd791f0b30 100644 --- a/stepmania/src/RageException.cpp +++ b/stepmania/src/RageException.cpp @@ -19,12 +19,6 @@ void RageException::SetCleanupHandler( void (*pHandler)(const RString &sError) ) g_CleanupHandler = pHandler; } -void RageException::CallCleanupHandler( const RString &sError ) -{ - if( g_CleanupHandler ) - g_CleanupHandler( sError ); -} - /* This is no longer actually implemented by throwing an exception, but it acts * the same way to code in practice. */ void RageException::Throw( const char *sFmt, ... ) diff --git a/stepmania/src/RageException.h b/stepmania/src/RageException.h index d5a1122f72..e90b447367 100644 --- a/stepmania/src/RageException.h +++ b/stepmania/src/RageException.h @@ -7,8 +7,7 @@ namespace RageException { void NORETURN Throw( const char *fmt, ... ) PRINTF(1,2); void SetCleanupHandler( void (*pHandler)(const RString &sError) ); - void CallCleanupHandler( const RString &sError ); -}; +} #endif