[QGIS-Developer] cppcheck false positive

Alessandro Pasotti apasotti at gmail.com
Tue Sep 29 02:55:40 PDT 2020


Looks like cppcheck is not smart enough...

const double factor { std::pow( 10, - mPrecisionSpinBox->value() ) };

https://github.com/qgis/QGIS/pull/39079/checks?check_run_id=1181360827#step:4:1693

-- 
Alessandro Pasotti
QCooperative:  www.qcooperative.net
ItOpen:   www.itopen.it


More information about the QGIS-Developer mailing list