diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-06-03 10:08:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-06-03 12:48:45 +0200 |
commit | 254952c15a80f63db0b0f54c79d8e2e9e083a8f3 (patch) | |
tree | b21630c68e3bc34bb3258aef63b510f2ea174d6a /editeng/source | |
parent | d09ba873adb58ca76b02fe852b31b6a8ca9591a4 (diff) |
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@redhat.com>
Diffstat (limited to 'editeng/source')
-rw-r--r-- | editeng/source/rtf/svxrtf.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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) |