diff --git a/rtengine/pixelshift.cc b/rtengine/pixelshift.cc index 5c05c2a1d..a27ea71c8 100644 --- a/rtengine/pixelshift.cc +++ b/rtengine/pixelshift.cc @@ -101,7 +101,6 @@ float nonGreenDiffCross(float right, float left, float top, float bottom, float avg *= eperIso; prnu *= avg; float stddev = stddevFactor * (avg + nreadIso + prnu * prnu); - float result = std::min(hDiff, vDiff) - stddev; return std::max(std::min(hDiff, vDiff) - stddev, 0.f); }