Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
COMP: Fix array bound warning for typecast initial value
In member function 'itk::QuadEdge::Self* itk::QuadEdge::GetSym()', inlined from 'itk::GeometricalQuadEdge<TVRef, TFRef, TPrimalData, TDualData, PrimalDual>::Self* itk::GeometricalQuadEdge<TVRef, TFRef, TPrimalData, TDualData, PrimalDual>::GetSym() [with TVRef = long unsigned int; TFRef = long unsigned int; TPrimalData = bool; TDualData = bool; bool PrimalDual = true]' at ITK/Modules/Core/QuadEdgeMesh/include/itkGeometricalQuadEdge.h:106:3, inlined from 'typename itk::QuadEdgeMeshEulerOperatorSplitEdgeFunction<TMesh, TQEType>::Superclass::OutputType itk::QuadEdgeMeshEulerOperatorSplitEdgeFunction<TMesh, TQEType>::Evaluate(QEType*) [with TMesh = itk::QuadEdgeMesh<double, 3>; TQEType = itk::GeometricalQuadEdge<long unsigned int, long unsigned int, bool, bool, true>]' at ITK/Modules/Core/QuadEdgeMesh/include/itkQuadEdgeMeshEulerOperatorSplitEdgeFunction.h:76:36, inlined from 'int itkQuadEdgeMeshEulerOperatorSplitEdgeTest(int, char**)' at ITK/Modules/Core/QuadEdgeMesh/test/itkQuadEdgeMeshEulerOperatorSplitEdgeTest.cxx:45:26: ITK/Modules/Core/QuadEdgeMesh/include/itkQuadEdge.h:245:15: warning: array subscript 0 is outside array bounds of 'QEType [0]' [-Warray-bounds=] 245 | if (this->m_Rot) | ~~~~~~^~~~~
- Loading branch information