summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
Diffstat (limited to 'sal')
-rw-r--r--sal/cpprt/operators_new_delete.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sal/cpprt/operators_new_delete.cxx b/sal/cpprt/operators_new_delete.cxx
index 40fdd330302e..6f681e1a92fa 100644
--- a/sal/cpprt/operators_new_delete.cxx
+++ b/sal/cpprt/operators_new_delete.cxx
@@ -54,6 +54,8 @@ struct AllocatorTraits
#if OSL_DEBUG_LEVEL > 0
memcpy (p, m_signature, sizeof(signature_type));
p = static_cast<char*>(p) + sizeof(signature_type);
+#else
+ (void) this; // silence loplugin:staticmethods
#endif /* OSL_DEBUG_LEVEL */
return p;
}
@@ -66,6 +68,8 @@ struct AllocatorTraits
{
OSL_FAIL("operator delete mismatch");
}
+#else
+ (void) this; // silence loplugin:staticmethods
#endif /* OSL_DEBUG_LEVEL */
return p;
}