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_imw_p.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_imw_p.c')
| -rw-r--r-- | src/PJ_imw_p.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PJ_imw_p.c b/src/PJ_imw_p.c index 58d04f8c..39e071a1 100644 --- a/src/PJ_imw_p.c +++ b/src/PJ_imw_p.c @@ -95,7 +95,7 @@ INVERSE(e_inverse); /* ellipsoid */ } static void xy(PJ *P, double phi, double *x, double *y, double *sp, double *R) { - double t, F; + double F; *sp = sin(phi); *R = 1./(tan(phi) * sqrt(1. - P->es * *sp * *sp )); @@ -109,7 +109,7 @@ ENTRY1(imw_p, en) int i; if (!(P->en = pj_enfn(P->es))) E_ERROR_0; - if (i = phi12(P, &del, &sig)) + if( (i = phi12(P, &del, &sig)) != 0) E_ERROR(i); if (P->phi_2 < P->phi_1) { /* make sure P->phi_1 most southerly */ del = P->phi_1; |
