SPHARM-PDM icon indicating copy to clipboard operation
SPHARM-PDM copied to clipboard

Fix -Wtautological-undefined-compare in MeshMath

Open jcfr opened this issue 6 years ago • 0 comments

/Volumes/Dashboards/Stable/SSALT-0-build/SPHARM-PDM/Modules/CLI/MetaMeshTools/MeshMath.cxx:3744:48: warning: reference cannot be bound to dereferenced null pointer in
      well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare]
      if( inputMesh->GetPoint( i, point1 ) && &Xval[i] != NULL )
                                               ^~~~~~~    ~~~~

jcfr avatar Sep 16 '18 12:09 jcfr