Re: [gdal-dev] cpppcheck warning in ogr_core.h

2014-02-28 Thread Even Rouault
Selon Olivier BARTHELEMY : > Hi, > Cppcheck reports a redundant condition "MaxZ>=other.MaxZ in > OGREnvelope3D::contains() > Isn't it a copy paste error, and isn't the condition MinZ<=other.MinZ > missing? Indeed !, thanks. I've just committed the fix. > > -- > [image: Geovariances] > > Olivier

[gdal-dev] cpppcheck warning in ogr_core.h

2014-02-28 Thread Olivier BARTHELEMY
Hi, Cppcheck reports a redundant condition "MaxZ>=other.MaxZ in OGREnvelope3D::contains() Isn't it a copy paste error, and isn't the condition MinZ<=other.MinZ missing? -- [image: Geovariances] Olivier BARTHELEMY *Software development engineer* Geovariances, 49bis avenue Franklin Roosevelt - 772