From 427eb126c4f3928f301fe1bd4d4da5eda22fb77b Mon Sep 17 00:00:00 2001 From: Mike Taves Date: Mon, 27 Dec 2021 20:23:17 +1300 Subject: Transition Clang Static Analizer to use CMake --- src/geodesic.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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, -- cgit v1.2.3