Suppress warning curveMode2 not used

This commit is contained in:
Desmis 2021-08-24 07:42:00 +02:00
parent 4a9951f9e5
commit 55ceb5b248

View File

@ -747,7 +747,7 @@ void ImProcFunctions::ciecam_02float(CieImage* ncie, float adap, int pW, int pwb
const bool hasColCurve1 = bool (customColCurve1); const bool hasColCurve1 = bool (customColCurve1);
const bool t1L = hasColCurve1 && curveMode == ColorAppearanceParams::TcMode::LIGHT; const bool t1L = hasColCurve1 && curveMode == ColorAppearanceParams::TcMode::LIGHT;
const ColorAppearanceParams::TcMode curveMode2 = params->colorappearance.curveMode2; // const ColorAppearanceParams::TcMode curveMode2 = params->colorappearance.curveMode2;
const bool hasColCurve2 = bool (customColCurve2); const bool hasColCurve2 = bool (customColCurve2);
const ColorAppearanceParams::CtcMode curveMode3 = params->colorappearance.curveMode3; const ColorAppearanceParams::CtcMode curveMode3 = params->colorappearance.curveMode3;