From 48c2106310c8edefc7c1387cffc466665e4f38d2 Mon Sep 17 00:00:00 2001 From: Arkell Rasiah Date: Fri, 7 Feb 2020 11:41:16 +0800 Subject: [PATCH] ImfAcesFile.cpp: Remove redundant equality check. Since fileChr.white is 'fileNeutral' and acesChr.white is 'acesNeutral' always. Signed-off-by: Arkell Rasiah --- OpenEXR/IlmImf/ImfAcesFile.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/OpenEXR/IlmImf/ImfAcesFile.cpp b/OpenEXR/IlmImf/ImfAcesFile.cpp index 9c725766b5..57a582c271 100644 --- a/OpenEXR/IlmImf/ImfAcesFile.cpp +++ b/OpenEXR/IlmImf/ImfAcesFile.cpp @@ -407,8 +407,7 @@ AcesInputFile::Data::initColorConversion () if (fileChr.red == acesChr.red && fileChr.green == acesChr.green && fileChr.blue == acesChr.blue && - fileChr.white == acesChr.white && - fileNeutral == acesNeutral) + fileChr.white == acesChr.white) { // // The file already contains ACES data,