editeng/source/rtf/svxrtf.cxx | 1 + 1 file changed, 1 insertion(+) New commits: commit 254952c15a80f63db0b0f54c79d8e2e9e083a8f3 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Thu Jun 3 10:08:40 2021 +0100 Commit: Caolán McNamara <caol...@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 <caol...@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) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits