aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2022-01-04 21:09:07 +0100
committerGitHub <noreply@github.com>2022-01-04 21:09:07 +0100
commit8056321237ae590c47ca02d15d0fff38a067e1f4 (patch)
tree8d75a058c9cd3aa8c5b2c623bd33bf70951915e3 /src
parent1254a211beac3f479d193794508a3fcea4f8790f (diff)
parent427eb126c4f3928f301fe1bd4d4da5eda22fb77b (diff)
downloadPROJ-8056321237ae590c47ca02d15d0fff38a067e1f4.tar.gz
PROJ-8056321237ae590c47ca02d15d0fff38a067e1f4.zip
Merge pull request #3001 from mwtoews/rfc-7-csa
Transition Clang Static Analizer to use CMake
Diffstat (limited to 'src')
-rw-r--r--src/geodesic.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/geodesic.c b/src/geodesic.c
index c8835a7a..225ccfdf 100644
--- a/src/geodesic.c
+++ b/src/geodesic.c
@@ -593,8 +593,8 @@ real geod_genposition(const struct geod_geodesicline* l,
* if ((outmask & GEOD_XX) && pYY)
* *pYY = YY;
*
- * the second check "&& pYY" is redundant. It's there to make the CLang
- * static analyzer happy.
+ * the second check "&& pYY" is redundant. It's there to make the Clang
+ * Static Analyzer happy.
*/
if ((outmask & GEOD_LATITUDE) && plat2)
*plat2 = lat2;
@@ -1826,7 +1826,7 @@ void geod_polygon_addedge(const struct geod_geodesic* g,
real azi, real s) {
if (p->num) { /* Do nothing is num is zero */
/* Initialize S12 to stop Visual Studio warning. Initialization of lat and
- * lon is to make CLang static analyzer happy. */
+ * lon is to make Clang Static Analyzer happy. */
real lat = 0, lon = 0, S12 = 0;
geod_gendirect(g, p->lat, p->lon, azi, GEOD_LONG_UNROLL, s,
&lat, &lon, nullptr,
@@ -1928,7 +1928,7 @@ unsigned geod_polygon_testedge(const struct geod_geodesic* g,
tempsum = p->A[0];
crossings = p->crossings;
{
- /* Initialization of lat, lon, and S12 is to make CLang static analyzer
+ /* Initialization of lat, lon, and S12 is to make Clang Static Analyzer
* happy. */
real lat = 0, lon = 0, s12, S12 = 0;
geod_gendirect(g, p->lat, p->lon, azi, GEOD_LONG_UNROLL, s,