Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
COMP: Fix gcc 13.2 compiler warnings
Limit possible index overflow. In member function ‘SetVnlVector’, inlined from ‘_wrap_itkVectorUC2_SetVnlVector’ at ITK/cmake-build-release/Wrapping/Modules/ITKCommon/itkVectorPython.cpp:31005:0: ITK/Modules/Core/Common/include/itkVector.hxx:160: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 160 | (*this)[i] = v(i); | ITK/Modules/Core/Common/include/itkFixedArray.h: In function ‘_wrap_itkVectorUC2_SetVnlVector’: ITK/Modules/Core/Common/include/itkFixedArray.h:437:10: note: at offset 2 into destination object ‘m_InternalArray’ of size 2 437 | CArray m_InternalArray; | ^
- Loading branch information