diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2018-01-11 13:46:38 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2018-01-11 13:46:38 +0100 |
| commit | 29916584ae00a16ef0974d419a89d6f12edecc12 (patch) | |
| tree | 9bdfcb59b9c5bd45753b05a97385f4e5404138a4 /src | |
| parent | a00d13a1fdd869596bf2f13a39f12a0ab7961fb3 (diff) | |
| download | PROJ-29916584ae00a16ef0974d419a89d6f12edecc12.tar.gz PROJ-29916584ae00a16ef0974d419a89d6f12edecc12.zip | |
Fix breakage of previous commit (bis)
Diffstat (limited to 'src')
| -rw-r--r-- | src/PJ_axisswap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PJ_axisswap.c b/src/PJ_axisswap.c index 725077a8..f7e89c33 100644 --- a/src/PJ_axisswap.c +++ b/src/PJ_axisswap.c @@ -192,7 +192,7 @@ PJ *CONVERSION(axisswap,0) { /* read axes numbers and signs */ for ( s = order, n = 0; *s != '\0' && n < 4; ) { Q->axis[n] = abs(atoi(s))-1; - if (Q->axis[n] < 0 || Q->axis[n] > 3) { + if (Q->axis[n] > 3) { proj_log_error(P, "axisswap: invalid axis '%d'", Q->axis[n]); return pj_default_destructor(P, PJD_ERR_AXIS); } |
