Skip to content

Commit 50dfa48

Browse files
authored
Merge pull request #49 from N-Dekker/Remove-unused-count-variables
STYLE: Remove unused local `count` variables from `doOneDimension`
2 parents 7ca97f8 + e13ba6a commit 50dfa48

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

include/itkParabolicMorphUtils.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,6 @@ doOneDimension(TInIter & inputIterator,
243243
inputIterator.GoToBegin();
244244
outputIterator.GoToBegin();
245245

246-
unsigned count = 0;
247246
while (!inputIterator.IsAtEnd() && !outputIterator.IsAtEnd())
248247
{
249248
// process this direction
@@ -266,7 +265,6 @@ doOneDimension(TInIter & inputIterator,
266265
++outputIterator;
267266
}
268267

269-
++count;
270268
// now onto the next line
271269
inputIterator.NextLine();
272270
outputIterator.NextLine();
@@ -289,7 +287,6 @@ doOneDimension(TInIter & inputIterator,
289287
inputIterator.GoToBegin();
290288
outputIterator.GoToBegin();
291289

292-
unsigned count = 0;
293290
while (!inputIterator.IsAtEnd() && !outputIterator.IsAtEnd())
294291
{
295292
// process this direction
@@ -312,7 +309,6 @@ doOneDimension(TInIter & inputIterator,
312309
++outputIterator;
313310
}
314311

315-
++count;
316312
// now onto the next line
317313
inputIterator.NextLine();
318314
outputIterator.NextLine();

0 commit comments

Comments
 (0)