Hi, Please find the latest report on new defect(s) introduced to LibreOffice found with Coverity Scan.
1 new defect(s) introduced to LibreOffice found with Coverity Scan. 10 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan. New defect(s) Reported-by: Coverity Scan Showing 1 of 1 defect(s) ** CID 1546839: Control flow issues (DEADCODE) /sw/source/core/attr/swatrset.cxx: 325 in SwAttrSet::Intersect_BC(const SfxItemSet &, SwAttrSet*, SwAttrSet*)() ________________________________________________________________________________________________________ *** CID 1546839: Control flow issues (DEADCODE) /sw/source/core/attr/swatrset.cxx: 325 in SwAttrSet::Intersect_BC(const SfxItemSet &, SwAttrSet*, SwAttrSet*)() 319 m_pNewSet = pNew; 320 m_pOldSet = pOld; 321 setCallback(m_aCallbackHolder); 322 SfxItemSet::Intersect( rSet ); 323 clearCallback(); 324 m_pOldSet = m_pNewSet = nullptr; >>> CID 1546839: Control flow issues (DEADCODE) >>> Execution cannot reach the expression "0" inside this statement: >>> "return pNew ? pNew->Count()...". 325 return pNew ? pNew->Count() : ( pOld ? pOld->Count() : 0 ); 326 } 327 328 /** special treatment for some attributes 329 330 Set the Modify pointer (old pDefinedIn) for the following attributes: ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DSeD1_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJi0ajyWbuTOgdNTUHp45uBVmkRlo9Z-2FSOZfC2LbI5gXYAl3Xpy5oEWnt98Zamr4SZMHxLD4Po1qSkE9P7AHy3PBIJqBBsfZ4TckT-2FbfssbGIU1LmRfCVyAJLmgk7qjQ9pVXFC37R4EbRRNMDr3kaAMTtZ1xqm5ySJcAossY1lkwXs-3D