diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2018-05-29 22:45:18 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2018-05-30 11:48:28 +0200 |
| commit | f773897a3025438326c1131e1586d9ddae080c4f (patch) | |
| tree | 989e9619ac1f1ad140298bef5327df3f2d417d92 /src/geodesic.h | |
| parent | e692e1567fb6117bd3e1380a80e10b72b7af3710 (diff) | |
| download | PROJ-f773897a3025438326c1131e1586d9ddae080c4f.tar.gz PROJ-f773897a3025438326c1131e1586d9ddae080c4f.zip | |
Fix warnings found by clang with new warning flags to be added in later commit
Fixes consist in:
- no use of comma operator for multi statement purpose
- avoid confusing comma in for loops first and third clauses
- avoid implicit long to int casts by storing to long, or explicit bound checking before cast
Diffstat (limited to 'src/geodesic.h')
| -rw-r--r-- | src/geodesic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/geodesic.h b/src/geodesic.h index f9d612f3..0e18af5a 100644 --- a/src/geodesic.h +++ b/src/geodesic.h @@ -633,7 +633,7 @@ extern "C" { /** * Specify position of point 3 in terms of distance. * - * @param[inout] l a pointer to the geod_geodesicline object. + * @param[in,out] l a pointer to the geod_geodesicline object. * @param[in] s13 the distance from point 1 to point 3 (meters); it * can be negative. * @@ -645,7 +645,7 @@ extern "C" { /** * Specify position of point 3 in terms of either distance or arc length. * - * @param[inout] l a pointer to the geod_geodesicline object. + * @param[in,out] l a pointer to the geod_geodesicline object. * @param[in] flags either GEOD_NOFLAGS or GEOD_ARCMODE to determining the * meaning of the \e s13_a13. * @param[in] s13_a13 if \e flags = GEOD_NOFLAGS, this is the distance |
