From c52fb3f1b0b39a2972818fc82d8e35d2b847a46b Mon Sep 17 00:00:00 2001 From: "Hans J. Johnson" Date: Fri, 24 Apr 2026 11:05:23 -0500 Subject: [PATCH] COMP: Remove unused InputPixelType aliases in CopyIterationBenchmark CopyRegionIterator and CopyScanlineIterator declared InputPixelType but never referenced it, triggering -Wunused-local-typedef. Other methods (CopyMemcpy, CopyImageRegionRange) still use the alias where it is needed and are left unchanged. --- examples/Core/itkCopyIterationBenchmark.cxx | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/Core/itkCopyIterationBenchmark.cxx b/examples/Core/itkCopyIterationBenchmark.cxx index c0f4d6b..7db632c 100644 --- a/examples/Core/itkCopyIterationBenchmark.cxx +++ b/examples/Core/itkCopyIterationBenchmark.cxx @@ -116,7 +116,6 @@ template void CopyRegionIterator(const TInputImage * inputPtr, TOutputImage * outputPtr) { - using InputPixelType = typename TInputImage::PixelType; using OutputPixelType = typename TOutputImage::PixelType; using ImageRegionConstIterator = itk::ImageRegionConstIterator; using ImageRegionIterator = itk::ImageRegionIterator; @@ -139,7 +138,6 @@ template void CopyScanlineIterator(const TInputImage * inputPtr, TOutputImage * outputPtr) { - using InputPixelType = typename TInputImage::PixelType; using OutputPixelType = typename TOutputImage::PixelType; using ImageScanlineConstIterator = itk::ImageScanlineConstIterator; using ImageScanlineIterator = itk::ImageScanlineIterator;