Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
COMP: Suppress false positive non-null warning by GCC
The error message was: In file included from /home/dzenan/ITKNornir/include/IRGridCommon.h:33, from /home/dzenan/ITKNornir/src/IRGridCommon.cxx:30: /home/dzenan/ITKNornir/include/itkIRCommon.h: In function ‘typename legendre_transform_t::Pointer approx_transform(const pnt2d_t&, const pnt2d_t&, const mask_t*, const base_transform_t*, unsigned int, unsigned int, bool) [with legendre_transform_t = itk::LegendrePolynomialTransform<double, 1>]’: /home/dzenan/ITKNornir/include/itkIRCommon.h:6305:51: warning: ‘this’ pointer is null [-Wnonnull] 6305 | vec2d_t shift = center - inverse->TransformPoint(center); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
- Loading branch information