QIICR / LongitudinalPETCT

Longitudinal PET/CT Analysis Module for Slicer 4
Other
4 stars 4 forks source link

STYLE: Fix compilation warnings #2

Closed jcfr closed 9 years ago

jcfr commented 9 years ago

This commit fixes the following warnings:

/home/jcfr/Projects/LongitudinalPETCT/Quantification/PETSUVImageMaker/PETSUVImageMaker.cxx: In function ‘double {anonymous}::ConvertTimeToSeconds(const char*)’: /home/jcfr/Projects/LongitudinalPETCT/Quantification/PETSUVImageMaker/PETSUVImageMaker.cxx:153:15: warning: variable ‘i’ set but not used [-Wunused-but-set-variable] size_t i = timeStr.find_first_of(":"); ^ /home/jcfr/Projects/LongitudinalPETCT/Quantification/PETSUVImageMaker/PETSUVImageMaker.cxx: In function ‘int {anonymous}::LoadImagesAndComputeSUV({anonymous}::parameters&, T)’: /home/jcfr/Projects/LongitudinalPETCT/Quantification/PETSUVImageMaker/PETSUVImageMaker.cxx:784:49: warning: typedef ‘LabelReaderType’ locally defined but not used [-Wunused-local-typedefs] typedef itk::ImageFileReader LabelReaderType; ^ /home/jcfr/Projects/LongitudinalPETCT/Quantification/PETSUVImageMaker/PETSUVImageMaker.cxx:856:45: warning: typedef ‘SliceReaderType’ locally defined but not used [-Wunused-local-typedefs] typedef itk::ImageFileReader< SliceType > SliceReaderType; ^ /home/jcfr/Projects/LongitudinalPETCT/Quantification/PETSUVImageMaker/PETSUVImageMaker.cxx:857:28: warning: typedef ‘ImageIOType’ locally defined but not used [-Wunused-local-typedefs] typedef itk::GDCMImageIO ImageIOType; ^ /home/jcfr/Projects/LongitudinalPETCT/Quantification/PETSUVImageMaker/PETSUVImageMaker.cxx:859:49: warning: typedef ‘NRRDImageType’ locally defined but not used [-Wunused-local-typedefs] typedef itk::VectorImage< PixelValueType, 3 > NRRDImageType; ^