Skip to content

Commit f5596d8

Browse files
committed
COMP: Removed unused typedefs from test files.
This resolves the following compiller warnings: /localscratch/Users/kjweimer/ITK/Modules/Remote/TubeTK/test/Filtering/itktubeSubSampleSpatialObjectFilterTest.cxx:42:49: warning: typedef ‘TubeSpatialObjectType’ locally defined but not used [-Wunused-local-typedefs] 42 | typedef itk::TubeSpatialObject< Dimension > TubeSpatialObjectType; | ^~~~~~~~~~~~~~~~~~~~~ /localscratch/Users/kjweimer/ITK/Modules/Remote/TubeTK/test/Registration/itktubeSpatialObjectToImageMetricPerformanceTest.cxx:53:61: warning: typedef ‘TubeType’ locally defined but not used [-Wunused-local-typedefs] 53 | typedef itk::TubeSpatialObject<3> TubeType; | ^~~~~~~~ /localscratch/Users/kjweimer/ITK/Modules/Remote/TubeTK/test/Registration/itktubeSpatialObjectToImageMetricPerformanceTest.cxx:54:61: warning: typedef ‘GroupType’ locally defined but not used [-Wunused-local-typedefs] 54 | typedef itk::GroupSpatialObject<3> GroupType; | ^~~~~~~~~ /localscratch/Users/kjweimer/ITK/Modules/Remote/TubeTK/test/Registration/itktubeSpatialObjectToImageMetricTest.cxx:55:59: warning: typedef ‘GroupType’ locally defined but not used [-Wunused-local-typedefs] 55 | typedef itk::GroupSpatialObject< ObjectDimension > GroupType; | ^~~~~~~~~
1 parent 2a72676 commit f5596d8

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

test/Registration/itktubeSpatialObjectToImageMetricPerformanceTest.cxx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ int itktubeSpatialObjectToImageMetricPerformanceTest( int argc, char * argv[] )
5050
}
5151

5252
typedef itk::Image<double, 3> Image3DType;
53-
typedef itk::TubeSpatialObject<3> TubeType;
54-
typedef itk::GroupSpatialObject<3> GroupType;
5553

5654
typedef itk::ImageFileReader<Image3DType> ImageReaderType;
5755
typedef itk::SpatialObjectReader<3> SOReaderType;

test/Registration/itktubeSpatialObjectToImageMetricTest.cxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ int itktubeSpatialObjectToImageMetricTest( int argc, char * argv[] )
5252
static const unsigned int ObjectDimension = 3;
5353

5454
typedef itk::Image< FloatType, ImageDimension > ImageType;
55-
typedef itk::GroupSpatialObject< ObjectDimension > GroupType;
5655

5756
typedef itk::ImageFileReader< ImageType > ImageReaderType;
5857
typedef itk::SpatialObjectReader< ObjectDimension > GroupReaderType;

0 commit comments

Comments
 (0)