[Libreoffice-commits] core.git: desktop/source

Julien Nabet serval2412 at yahoo.fr
Sun Jun 2 13:57:19 PDT 2013


 desktop/source/app/app.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 8c39c42c299b13f9516e4f76e1e654867dd824ef
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Jun 2 22:56:38 2013 +0200

    C4702: unreachable code
    
    Change-Id: Ia5151a143583c597d30b9ba64733e610877ccab1

diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index 6b337ae..3f37a98 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -1614,12 +1614,10 @@ int Desktop::Main()
         com::sun::star::uno::Exception te;
         wte.TargetException >>= te;
         FatalError( MakeStartupConfigAccessErrorMessage(wte.Message + te.Message) );
-        return EXIT_FAILURE;
     }
     catch ( const com::sun::star::uno::Exception& e )
     {
         FatalError( MakeStartupErrorMessage(e.Message) );
-        return EXIT_FAILURE;
     }
     SetSplashScreenProgress(55);
 
@@ -1664,7 +1662,6 @@ int Desktop::Main()
         catch ( const com::sun::star::uno::Exception& e )
         {
             FatalError( MakeStartupErrorMessage(e.Message) );
-            return EXIT_FAILURE;
         }
 
         // Release solar mutex just before we wait for our client to connect


More information about the Libreoffice-commits mailing list