diff options
| author | Frank Warmerdam <warmerdam@pobox.com> | 2001-02-07 17:55:05 +0000 |
|---|---|---|
| committer | Frank Warmerdam <warmerdam@pobox.com> | 2001-02-07 17:55:05 +0000 |
| commit | 6ab5e6cfa7775b8fe77a93432d331b8654a33b3f (patch) | |
| tree | 9af88663973b8f6c23f345c4783a16ca1de223ce /src/PJ_lcc.c | |
| parent | 6c008cb7ae007b6f0cb813febcefa60c718c05c7 (diff) | |
| download | PROJ-6ab5e6cfa7775b8fe77a93432d331b8654a33b3f.tar.gz PROJ-6ab5e6cfa7775b8fe77a93432d331b8654a33b3f.zip | |
Cleaned up various warnings when compiled with -Wall.
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@906 4e78687f-474d-0410-85f9-8d5e500ac6b2
Diffstat (limited to 'src/PJ_lcc.c')
| -rw-r--r-- | src/PJ_lcc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PJ_lcc.c b/src/PJ_lcc.c index 9e697cd9..68cc895b 100644 --- a/src/PJ_lcc.c +++ b/src/PJ_lcc.c @@ -29,7 +29,7 @@ FORWARD(e_forward); /* ellipsoid & spheroid */ INVERSE(e_inverse); /* ellipsoid & spheroid */ xy.x /= P->k0; xy.y /= P->k0; - if (P->rho = hypot(xy.x, xy.y = P->rho0 - xy.y)) { + if( (P->rho = hypot(xy.x, xy.y = P->rho0 - xy.y)) != 0.0) { if (P->n < 0.) { P->rho = -P->rho; xy.x = -xy.x; @@ -77,7 +77,7 @@ ENTRY0(lcc) P->n = sinphi = sin(P->phi1); cosphi = cos(P->phi1); secant = fabs(P->phi1 - P->phi2) >= EPS10; - if (P->ellips = (P->es != 0.)) { + if( (P->ellips = (P->es != 0.)) ) { double ml1, m1; P->e = sqrt(P->es); |
