Skip to content

Commit

Permalink
STYLE: Remove memset(&m_Header, 0...) from MRCHeaderObject constructor
Browse files Browse the repository at this point in the history
`m_Header` is already has a `{}` default member initializer, in the class
definition of `MRCHeaderObject`.
  • Loading branch information
N-Dekker committed Oct 6, 2024
1 parent 3d7f501 commit 1dd7606
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Modules/IO/MRC/src/itkMRCHeaderObject.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,7 @@ MRCHeaderObject::IsOriginalHeaderBigEndian() const
}

MRCHeaderObject::MRCHeaderObject()


{
memset(&this->m_Header, 0, sizeof(Header));
this->m_BigEndianHeader = ByteSwapper<void *>::SystemIsBE();
}

Expand Down

0 comments on commit 1dd7606

Please sign in to comment.