summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-10-11 09:16:08 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-10-11 14:01:33 +0200
commit0095e0412eb4595aca548909fadeb36cd3d1728f (patch)
tree4860eda7a44ea56fa8e291c0bced3d44eea7f63f /sc/inc
parent57ffa96d413df2712b15355f49294e564bd0d996 (diff)
add coverity[uninit_member] to explanation
Change-Id: I3aefd74b9fb940b9c7485a1c1b989a43912fdb60 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123368 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/address.hxx4
-rw-r--r--sc/inc/compressedarray.hxx1
2 files changed, 2 insertions, 3 deletions
diff --git a/sc/inc/address.hxx b/sc/inc/address.hxx
index 2f3a987b45bc..56bd8d7f3e7d 100644
--- a/sc/inc/address.hxx
+++ b/sc/inc/address.hxx
@@ -244,8 +244,8 @@ public:
ScAddress( SCCOL nColP, SCROW nRowP, SCTAB nTabP ) :
nRow(nRowP), nCol(nColP), nTab(nTabP)
{}
- /** Yes, it is what it seems to be: Uninitialized. May be used for
- performance reasons if it is initialized by other means. */
+ /** coverity[uninit_member] - Yes, it is what it seems to be: Uninitialized.
+ May be used for performance reasons if it is initialized by other means. */
ScAddress( Uninitialized )
{}
ScAddress( InitializeInvalid ) :
diff --git a/sc/inc/compressedarray.hxx b/sc/inc/compressedarray.hxx
index 286b42e8ff0a..010200068be5 100644
--- a/sc/inc/compressedarray.hxx
+++ b/sc/inc/compressedarray.hxx
@@ -62,7 +62,6 @@ public:
{
A nEnd; // start is end of previous entry + 1
D aValue;
- DataEntry() {} //! uninitialized
};
struct RangeData
{