summaryrefslogtreecommitdiff
path: root/comphelper/source/streaming/memorystream.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/source/streaming/memorystream.cxx')
-rw-r--r--comphelper/source/streaming/memorystream.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/streaming/memorystream.cxx b/comphelper/source/streaming/memorystream.cxx
index 2abcb6b1209f..7edfe7a78ce0 100644
--- a/comphelper/source/streaming/memorystream.cxx
+++ b/comphelper/source/streaming/memorystream.cxx
@@ -87,9 +87,9 @@ private:
{
sal_Int8 value;
NoInitInt8() noexcept {
- // do nothing
static_assert(sizeof(NoInitInt8) == sizeof(sal_Int8), "invalid size");
static_assert(alignof(NoInitInt8) == alignof(sal_Int8), "invalid alignment");
+ /* coverity[uninit_member] - deliberately do nothing to leave uninitialized */
}
};