editeng/source/rtf/svxrtf.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit d6eb61707c15cda590cd16e9cbdce2b193889ff0
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Sat Jun 5 14:39:03 2021 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Sat Jun 5 16:50:37 2021 +0200

    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 <caol...@redhat.com>

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)
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to