[Libreoffice-commits] core.git: editeng/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jun 3 10:49:28 UTC 2021
editeng/source/rtf/svxrtf.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 254952c15a80f63db0b0f54c79d8e2e9e083a8f3
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Jun 3 10:08:40 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Jun 3 12:48:45 2021 +0200
cid#1485166 try and suppress bogus Uninitialized scalar variable
Change-Id: I250bb79534610952cc78bb5ab3fc8ab5862723c6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116646
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/editeng/source/rtf/svxrtf.cxx b/editeng/source/rtf/svxrtf.cxx
index 1e85b415828c..43c6a8e6f8e5 100644
--- a/editeng/source/rtf/svxrtf.cxx
+++ b/editeng/source/rtf/svxrtf.cxx
@@ -924,6 +924,7 @@ SvxRTFItemStackType::SvxRTFItemStackType(
const EditPosition& rPos )
: aAttrSet( rPool, pWhichRange )
, mxStartNodeIdx(rPos.MakeNodeIdx())
+ // coverity[read_parm_fld : FALSE] - difficulty with std::optional leading to bogus 'Uninitialized scalar variable'
, mxEndNodeIdx(mxStartNodeIdx)
, nSttCnt(rPos.GetCntIdx())
, nEndCnt(nSttCnt)
More information about the Libreoffice-commits
mailing list