Skip to content

Commit

Permalink
Fix uninitialized member
Browse files Browse the repository at this point in the history
  • Loading branch information
ooz committed Dec 3, 2012
1 parent c3caceb commit 49e057a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/EDNA/EDDataElementIsis.mm
Expand Up @@ -126,6 +126,8 @@ -(id)initFromImage:(isis::data::Image) img ofImageType:(enum ImageType)imgType
mImageType = imgType;

mDataTypeID = img.getMajorTypeID();

mImageSize = [[BARTImageSize alloc] init];
mImageSize.rows = mIsisImage->getNrOfRows(); // getDimSize(isis::data::colDim)
mImageSize.columns = mIsisImage->getNrOfColumns();
mImageSize.slices = mIsisImage->getNrOfSlices();
Expand Down

0 comments on commit 49e057a

Please sign in to comment.