summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-08-08 16:22:00 +0200
committerMichael Stahl <mstahl@redhat.com>2014-08-08 16:23:35 +0200
commit83dbae1da7333f4510c5bbbd10edf8f98132d026 (patch)
treeec4910bbbde3607814b7fa10c1af74da8b2b4d42 /cppuhelper
parentb471943640f51e252046e2c91a7cb00d72f8d07c (diff)
warning C4702: unreachable code
Change-Id: I8a1e67d3ec1ef0c94b41e46a29a40280468d5e76
Diffstat (limited to 'cppuhelper')
-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
}