Commit 63fec30
committed
COMP: Drop unused InputPixelType typedefs in CopyIterationBenchmark
CopyRegionIterator and CopyScanlineIterator (examples/Core/itkCopyIterationBenchmark.cxx)
each declared a local `using InputPixelType = typename TInputImage::PixelType;`
that was never referenced — the loop bodies cast directly via
`static_cast<OutputPixelType>(inputIt.Get())`, so InputPixelType is dead.
Triggers -Wunused-local-typedefs at lines 119 and 142 under gcc.
Remove the two unused typedefs; the other two functions in this file
(CopyImageRegionRange, and the * / * typed-copy variant at line 187)
legitimately use both InputPixelType and OutputPixelType and are left
unchanged.1 parent b24324f commit 63fec30
1 file changed
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
120 | 119 | | |
121 | 120 | | |
122 | 121 | | |
| |||
139 | 138 | | |
140 | 139 | | |
141 | 140 | | |
142 | | - | |
143 | 141 | | |
144 | 142 | | |
145 | 143 | | |
| |||
0 commit comments