New Defects reported by Coverity Scan for LibreOffice
scan-admin at coverity.com
scan-admin at coverity.com
Thu Mar 3 19:45:06 UTC 2016
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.
12 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 1355126: Control flow issues (DEADCODE)
/vcl/source/gdi/pdfwriter_impl.cxx: 862 in appendFixedInt(int, rtl::OStringBuffer &)()
________________________________________________________________________________________________________
*** CID 1355126: Control flow issues (DEADCODE)
/vcl/source/gdi/pdfwriter_impl.cxx: 862 in appendFixedInt(int, rtl::OStringBuffer &)()
856 sal_Int32 nDecimal = nValue % nFactor;
857 if( nDecimal )
858 {
859 rBuffer.append( '.' );
860 // omit trailing zeros
861 while( (nDecimal % 10) == 0 )
>>> CID 1355126: Control flow issues (DEADCODE)
>>> Execution cannot reach this statement: "nDecimal /= 10;".
862 nDecimal /= 10;
863 rBuffer.append( nDecimal );
864 }
865 }
866 }
867
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/libreoffice?tab=overview
To manage Coverity Scan email notifications for "libreoffice at lists.freedesktop.org", click https://scan.coverity.com/subscriptions/edit?email=libreoffice%40lists.freedesktop.org&token=d6481d718a775246b2340f282ebe5939
More information about the LibreOffice
mailing list