COMP: Fix unused variable warning reported in Slicer Bug tracking 3665 /...

... Github issue #30