aboutsummaryrefslogtreecommitdiff
path: root/src/geodesic.c
diff options
context:
space:
mode:
authorMike Taves <mwtoews@gmail.com>2021-12-27 20:23:17 +1300
committerMike Taves <mwtoews@gmail.com>2022-01-02 23:56:06 +1300
commit427eb126c4f3928f301fe1bd4d4da5eda22fb77b (patch)
tree92dc1685572b05021e01446bc6987f7554677bc6 /src/geodesic.c
parent0158de0603e9f37fdb58c7dfb932efc958bd5ea9 (diff)
downloadPROJ-427eb126c4f3928f301fe1bd4d4da5eda22fb77b.tar.gz
PROJ-427eb126c4f3928f301fe1bd4d4da5eda22fb77b.zip
Transition Clang Static Analizer to use CMake
Diffstat (limited to 'src/geodesic.c')
-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,