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

Michael Stahl mstahl at redhat.com
Fri Aug 8 07:28:13 PDT 2014


 cppuhelper/source/compat.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 83dbae1da7333f4510c5bbbd10edf8f98132d026
Author: Michael Stahl <mstahl at redhat.com>
Date:   Fri Aug 8 16:22:00 2014 +0200

    warning C4702: unreachable code
    
    Change-Id: I8a1e67d3ec1ef0c94b41e46a29a40280468d5e76

diff --git a/cppuhelper/source/compat.cxx b/cppuhelper/source/compat.cxx
index 092e244..9e10cba 100644
--- a/cppuhelper/source/compat.cxx
+++ b/cppuhelper/source/compat.cxx
@@ -148,6 +148,7 @@ void ClassData::writeTypeOffset(css::uno::Type const &, sal_Int32) {
     std::abort();
 }
 
+SAL_WNOUNREACHABLE_CODE_PUSH
 struct SAL_DLLPUBLIC_EXPORT ClassDataBase {
     ClassDataBase();
 
@@ -167,6 +168,7 @@ ClassDataBase::ClassDataBase(sal_Int32) {
 ClassDataBase::~ClassDataBase() {
     std::abort();
 }
+SAL_WNOUNREACHABLE_CODE_POP
 
 }
 


More information about the Libreoffice-commits mailing list