Skip to content

Commit 8adf735

Browse files
authored
Merge pull request #50 from jhlegarreta/FixUnusedVariableWarning
COMP: Remove unused variable
2 parents 22d8846 + 0e7998c commit 8adf735

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

include/itkLabelSetUtils.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -256,10 +256,9 @@ doOneDimensionErodeFirstPass(TInIter & inputIterator,
256256
// restructure equation to reduce numerical error
257257
// const RealType magnitude = (magnitudeSign * iscale * iscale)/(2.0 *
258258
// sigma);
259-
const RealType magnitude = (magnitudeSign * iscale * iscale) / (2.0);
260-
const typename TInIter::PixelType initPixelValue = 0.0;
261-
LineBufferType lineBuf(lineLength, 0.0);
262-
LabelBufferType labBuf(lineLength, 0.0);
259+
const RealType magnitude = (magnitudeSign * iscale * iscale) / (2.0);
260+
LineBufferType lineBuf(lineLength, 0.0);
261+
LabelBufferType labBuf(lineLength, 0.0);
263262

264263
inputIterator.SetDirection(direction);
265264
outputIterator.SetDirection(direction);

0 commit comments

Comments
 (0)