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