<div dir="ltr">Side question, is there a technical reason to prefer this syntax over the = one?<div><br></div><div>The = is more readable to me, but that's a matter of experience I guess.</div><div>More generally, it would be nice to decide for one syntax and have a coherence over the source code.</div><div><br></div><div>Cheers,</div><div>Denis</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 29 sept. 2020 à 11:55, Alessandro Pasotti <<a href="mailto:apasotti@gmail.com">apasotti@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Looks like cppcheck is not smart enough...<br>
<br>
const double factor { std::pow( 10, - mPrecisionSpinBox->value() ) };<br>
<br>
<a href="https://github.com/qgis/QGIS/pull/39079/checks?check_run_id=1181360827#step:4:1693" rel="noreferrer" target="_blank">https://github.com/qgis/QGIS/pull/39079/checks?check_run_id=1181360827#step:4:1693</a><br>
<br>
-- <br>
Alessandro Pasotti<br>
QCooperative:  <a href="http://www.qcooperative.net" rel="noreferrer" target="_blank">www.qcooperative.net</a><br>
ItOpen:   <a href="http://www.itopen.it" rel="noreferrer" target="_blank">www.itopen.it</a><br>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div>