summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cppuhelper/source/compat.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/cppuhelper/source/compat.cxx b/cppuhelper/source/compat.cxx
index 092e2449fbd2..9e10cbaa7772 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
}