Fix some valgrind issues

This commit is contained in:
heckflosse
2017-06-24 16:38:34 +02:00
parent 2579e3f6ac
commit 159ddf2d7a
10 changed files with 4 additions and 100 deletions

View File

@@ -348,7 +348,6 @@ void ParamsEdited::set (bool v)
icm.applyLookTable = v;
icm.applyBaselineExposureOffset = v;
icm.applyHueSatMap = v;
icm.blendCMSMatrix = v;
icm.dcpIlluminant = v;
icm.working = v;
icm.output = v;
@@ -874,7 +873,6 @@ void ParamsEdited::initFrom (const std::vector<rtengine::procparams::ProcParams>
icm.applyLookTable = icm.applyLookTable && p.icm.applyLookTable == other.icm.applyLookTable;
icm.applyBaselineExposureOffset = icm.applyBaselineExposureOffset && p.icm.applyBaselineExposureOffset == other.icm.applyBaselineExposureOffset;
icm.applyHueSatMap = icm.applyHueSatMap && p.icm.applyHueSatMap == other.icm.applyHueSatMap;
icm.blendCMSMatrix = icm.blendCMSMatrix && p.icm.blendCMSMatrix == other.icm.blendCMSMatrix;
icm.dcpIlluminant = icm.dcpIlluminant && p.icm.dcpIlluminant == other.icm.dcpIlluminant;
icm.working = icm.working && p.icm.working == other.icm.working;
icm.output = icm.output && p.icm.output == other.icm.output;
@@ -2254,10 +2252,6 @@ void ParamsEdited::combine (rtengine::procparams::ProcParams& toEdit, const rten
toEdit.icm.applyHueSatMap = mods.icm.applyHueSatMap;
}
if (icm.blendCMSMatrix) {
toEdit.icm.blendCMSMatrix = mods.icm.blendCMSMatrix;
}
if (icm.dcpIlluminant) {
toEdit.icm.dcpIlluminant = mods.icm.dcpIlluminant;
}