diff --git a/Modules/IO/TIFF/src/itkTIFFImageIO.cxx b/Modules/IO/TIFF/src/itkTIFFImageIO.cxx index 1dcc125fe2d..43ceb644341 100644 --- a/Modules/IO/TIFF/src/itkTIFFImageIO.cxx +++ b/Modules/IO/TIFF/src/itkTIFFImageIO.cxx @@ -138,7 +138,6 @@ unsigned int TIFFImageIO::GetFormat() m_ImageFormat = TIFFImageIO::PALETTE_RGB; return m_ImageFormat; } - } } m_ImageFormat = TIFFImageIO::OTHER; @@ -1311,7 +1310,7 @@ void TIFFImageIO::ReadGenericImage(void *_out, } break; case TIFFImageIO::PALETTE_RGB: - if ( this->GetExpandRGBPalette() || (!this->GetIsReadAsScalarPlusPalette()) ) + if ( !this->GetIsReadAsScalarPlusPalette() ) { switch ( m_InternalImage->m_BitsPerSample ) {