diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-06-05 14:39:03 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-06-05 16:50:37 +0200 |
commit | d6eb61707c15cda590cd16e9cbdce2b193889ff0 (patch) | |
tree | 494d8efd35c7908c10332a4dad6d2d37567db105 /editeng | |
parent | 3e8e5f079e032a2b7b709bc01113f14da893263c (diff) |
cid#1485166 silence Uninitialized scalar variable
the markup in the other case seemed to work
Change-Id: I2276f370b3f696082fd4ebfcbd29a13e2bea85ad
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116747
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'editeng')
-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 9d5f3abe84ec..661a6cb11163 100644 --- a/editeng/source/rtf/svxrtf.cxx +++ b/editeng/source/rtf/svxrtf.cxx @@ -949,6 +949,7 @@ SvxRTFItemStackType::SvxRTFItemStackType( bool const bCopyAttr ) : aAttrSet( *rCpy.aAttrSet.GetPool(), rCpy.aAttrSet.GetRanges() ) , 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) |