Skip to content

Commit

Permalink
COMP: Removed unused typedefs from test files.
Browse files Browse the repository at this point in the history
    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;
          |                                                           ^~~~~~~~~
  • Loading branch information
kian-weimer committed Feb 25, 2022
1 parent 2a72676 commit f5596d8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ int itktubeSpatialObjectToImageMetricPerformanceTest( int argc, char * argv[] )
}

typedef itk::Image<double, 3> Image3DType;
typedef itk::TubeSpatialObject<3> TubeType;
typedef itk::GroupSpatialObject<3> GroupType;

typedef itk::ImageFileReader<Image3DType> ImageReaderType;
typedef itk::SpatialObjectReader<3> SOReaderType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ int itktubeSpatialObjectToImageMetricTest( int argc, char * argv[] )
static const unsigned int ObjectDimension = 3;

typedef itk::Image< FloatType, ImageDimension > ImageType;
typedef itk::GroupSpatialObject< ObjectDimension > GroupType;

typedef itk::ImageFileReader< ImageType > ImageReaderType;
typedef itk::SpatialObjectReader< ObjectDimension > GroupReaderType;
Expand Down

0 comments on commit f5596d8

Please sign in to comment.