diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-10-12 21:03:36 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2013-10-12 21:03:36 +0300 |
commit | 0937d07cd5bbdc68fcae8127149ffa6c813d3a97 (patch) | |
tree | d3697d114c31fcbb6becb84921bb9992b7e85a62 /rsc | |
parent | 22481c65ff2019dcfb03d9fe58e6ad2574b759fd (diff) |
Simpligy: Bin odd atexit crack
Change-Id: Ib7e491ae66525b8ba2555b50fe7c9e1fed150987
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/source/prj/gui.cxx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/rsc/source/prj/gui.cxx b/rsc/source/prj/gui.cxx index 4535b56cd2f4..a2d321e0dde9 100644 --- a/rsc/source/prj/gui.cxx +++ b/rsc/source/prj/gui.cxx @@ -23,16 +23,6 @@ #include <rscrsc.hxx> #include <rscdb.hxx> -static RscCompiler * pRscCompiler = NULL; -#if defined( UNX ) || defined ( __GNUC__ ) || defined(__MINGW32__) - void ExitProgram( void ){ -#else - void cdecl ExitProgram( void ){ -#endif - if( pRscCompiler ) - delete pRscCompiler; -} - static RscVerbosity lcl_determineVerbosity( int argc, char ** argv ) { for ( int i = 0; i < argc; ++i ) @@ -49,9 +39,6 @@ static RscVerbosity lcl_determineVerbosity( int argc, char ** argv ) int rsc2_main( int argc, char **argv ) { -#ifndef UNX - atexit( ExitProgram ); -#endif #if OSL_DEBUG_LEVEL > 1 fprintf( stderr, "debugging %s\n", argv[0] ); #endif @@ -71,9 +58,7 @@ int rsc2_main( int argc, char **argv ) else{ RscCompiler* pCompiler = new RscCompiler( pCmdLine, pTypCont ); - pRscCompiler = pCompiler; aError = pCompiler->Start(); - pRscCompiler = NULL; delete pCompiler; } |