Skip to content

Commit e405913

Browse files
committed
COMP: Remove unused variable
Remove unused variable. Fixes: ``` Modules/Remote/LabelErodeDilate/include/itkLabelSetUtils.h:260:37: warning: unused variable 'initPixelValue' [-Wunused-variable] 260 | const typename TInIter::PixelType initPixelValue = 0.0; | ^~~~~~~~~~~~~~ ``` raised for example in: https://open.cdash.org/viewBuildError.php?type=1&buildid=10316578 Introducing the variable was an oversight in commit 108b0ba.
1 parent 2506727 commit e405913

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/itkLabelSetUtils.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,6 @@ doOneDimensionErodeFirstPass(TInIter & inputIterator,
257257
// const RealType magnitude = (magnitudeSign * iscale * iscale)/(2.0 *
258258
// sigma);
259259
const RealType magnitude = (magnitudeSign * iscale * iscale) / (2.0);
260-
const typename TInIter::PixelType initPixelValue = 0.0;
261260
LineBufferType lineBuf(lineLength, 0.0);
262261
LabelBufferType labBuf(lineLength, 0.0);
263262

0 commit comments

Comments
 (0)