Skip to content

Commit 803fb79

Browse files
hjmjohnsondzenanz
authored andcommitted
COMP: remove compiler warnings.
HASI/include/itkLandmarkAtlasSegmentationFilter.hxx:44:26: warning: unused variable 'inputRegion' [-Wunused-variable] HASI/include/itkSegmentBonesInMicroCTFilter.hxx:326:25: warning: comparison of integers of different signs: 'PixelType' (aka 'short') and 'const unsigned int' [-Wsign-compare]
1 parent 1604a6d commit 803fb79

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

include/itkLandmarkAtlasSegmentationFilter.hxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ LandmarkAtlasSegmentationFilter<TInputImage, TOutputImage>::GenerateData()
3838
{
3939
this->AllocateOutputs();
4040

41-
OutputImageType * output = this->GetOutput();
41+
// OutputImageType * output = this->GetOutput();
4242
const InputImageType * input = this->GetInput();
43-
const RegionType & outputRegion = output->GetRequestedRegion();
44-
RegionType inputRegion = RegionType(outputRegion.GetSize());
43+
// const RegionType & outputRegion = output->GetRequestedRegion();
44+
// RegionType inputRegion = RegionType(outputRegion.GetSize());
4545

4646

4747
m_LandmarksTransform = RigidTransformType::New();

include/itkSegmentBonesInMicroCTFilter.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ SegmentBonesInMicroCTFilter<TInputImage, TOutputImage>::GenerateData()
285285

286286

287287
// per-bone processing
288-
for (unsigned bone = 1; bone <= numBones; bone++)
288+
for (typename TOutputImage::PixelType bone = 1; bone <= numBones; bone++)
289289
{
290290
float boneProgress = 0.3f / numBones;
291291
float beginProgress = 0.7 + boneProgress * (bone - 1);

0 commit comments

Comments
 (0)