Skip to content

Commit

Permalink
ImfAcesFile.cpp: Remove redundant equality check.
Browse files Browse the repository at this point in the history
Since fileChr.white is 'fileNeutral' and acesChr.white is 'acesNeutral'
always.

Signed-off-by: Arkell Rasiah <arasiah@pixsystem.com>
  • Loading branch information
arkellr authored and cary-ilm committed Feb 26, 2020
1 parent adc21e5 commit 48c2106
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions OpenEXR/IlmImf/ImfAcesFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 48c2106

Please sign in to comment.