Closed N-Dekker closed 3 months ago
This particular samplenr variable was only used as argument for commented-out progressObserver->UpdateAndPrintProgress calls.
samplenr
progressObserver->UpdateAndPrintProgress
Those progressObserver->UpdateAndPrintProgress calls were already commented-out with commit e9de4b1281a07d2fdbaa96db865f3c7aaaf4e5d2 (May 25, 2016): https://github.com/SuperElastix/elastix/blob/e9de4b1281a07d2fdbaa96db865f3c7aaaf4e5d2/src/Common/itkComputeJacobianTerms.hxx#L235-L236
Follow-up to pull request https://github.com/SuperElastix/elastix/pull/1111 "COMP: Fix -Wshadow warnings on local samplenr variable"
-Wshadow
@mstaring FYI, I'll just merge this PR now, but if we ever want to have this unused variable (samplenr) back here (and actually use it to implement progress updating), it's easy to put it back any time later.
This particular
samplenr
variable was only used as argument for commented-outprogressObserver->UpdateAndPrintProgress
calls.Those
progressObserver->UpdateAndPrintProgress
calls were already commented-out with commit e9de4b1281a07d2fdbaa96db865f3c7aaaf4e5d2 (May 25, 2016): https://github.com/SuperElastix/elastix/blob/e9de4b1281a07d2fdbaa96db865f3c7aaaf4e5d2/src/Common/itkComputeJacobianTerms.hxx#L235-L236Follow-up to pull request https://github.com/SuperElastix/elastix/pull/1111 "COMP: Fix
-Wshadow
warnings on localsamplenr
variable"