(Try to) fix warnings that popped up in #4223

The only place I don't know how to fix is the
`-fvar-tracking-assignments` warning in `ProcParams::save()` as
there is nothing to constify.
This commit is contained in:
Flössie
2017-12-14 20:42:45 +01:00
parent a46f96d32d
commit caa68ff49b
3 changed files with 362 additions and 360 deletions

View File

@@ -361,7 +361,7 @@ void rtengine::LCPProfile::calcParams(
const float focDist = aPersModel[pm]->focDist;
const float focDistLog = std::log(focDist) + euler;
double meanErr;
double meanErr = 0.0;
if (aPersModel[pm]->hasModeData(mode)) {
double lowMeanErr = 0.0;