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

Stephan Bergmann sbergman at redhat.com
Tue May 10 15:26:38 UTC 2016


 unotools/source/config/bootstrap.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1d3494b55bc6d89a0ec4ca64a52e354337d937a0
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue May 10 17:25:47 2016 +0200

    -Werror=empty-body
    
    ("suggest braces around empty body in an ‘else’ statement")
    
    Change-Id: I7c6de1ed2cc1c2cc39e2c8f530866c31ab038907

diff --git a/unotools/source/config/bootstrap.cxx b/unotools/source/config/bootstrap.cxx
index 85a3b5a..8c2ed4f 100644
--- a/unotools/source/config/bootstrap.cxx
+++ b/unotools/source/config/bootstrap.cxx
@@ -477,7 +477,7 @@ static Bootstrap::FailureCode describeError(OUStringBuffer& _rBuf, Bootstrap::Im
             eErrCode = Bootstrap::INVALID_VERSION_FILE_ENTRY;
             break;
         }
-        else SAL_FALLTHROUGH;
+        SAL_FALLTHROUGH;
 
     case Bootstrap::DATA_MISSING:
         switch (_rData.aVersionINI_.status)


More information about the Libreoffice-commits mailing list