Skip to content

Commit 9b00710

Browse files
committed
BUG: Remove redundant assignment in itkVariableLengthVectorTest
- Removed unnecessary `start = &x[0]` assignment to improve test code clarity and avoid dead store.
1 parent 40c7b97 commit 9b00710

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

Modules/Core/Common/test/itkVariableLengthVectorTest.cxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ itkVariableLengthVectorTest(int, char *[])
186186
ASSERT(&x[0] != start, "DontShrintToFit(bigger) => reallocate");
187187
// ASSERT(x[0] is uninitialized);
188188
x[0] = ref[0];
189-
start = &x[0];
190189
}
191190

192191
// Test on assignments

0 commit comments

Comments
 (0)