diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-02-06 23:33:38 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-02-06 23:33:38 +0100 |
| commit | c8f8a5a6c522fcd18b2ca42d4345bc9be115abd3 (patch) | |
| tree | 0718ef93fbff2c0a07ba1d3a3f1a72301ab2c96a /src/projections/isea.cpp | |
| parent | 9e1420309c075ff1cc74514e39d0cf6da1e4e19c (diff) | |
| download | PROJ-c8f8a5a6c522fcd18b2ca42d4345bc9be115abd3.tar.gz PROJ-c8f8a5a6c522fcd18b2ca42d4345bc9be115abd3.zip | |
Fix cppcheck warnings and make it work with latest cppcheck 1.90
Diffstat (limited to 'src/projections/isea.cpp')
| -rw-r--r-- | src/projections/isea.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/projections/isea.cpp b/src/projections/isea.cpp index 351739d4..801f2b82 100644 --- a/src/projections/isea.cpp +++ b/src/projections/isea.cpp @@ -733,7 +733,7 @@ static int isea_dddi_ap3odd(struct isea_dgg *g, int quadz, struct isea_pt *pt, quadz += 5; d = 0; } - } else if (quadz >= 6) { + } else /* if (quadz >= 6) */ { if (i == 0 && d == maxcoord) { /* south pole */ quadz = 11; @@ -812,7 +812,7 @@ static int isea_dddi(struct isea_dgg *g, int quadz, struct isea_pt *pt, h.y = -h.z; h.x = 0; } - } else if (quadz >= 6) { + } else /* if (quadz >= 6) */ { if (h.z == 0 && h.x == sidelength) { /* south pole */ quadz = 11; |
