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_stere.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_stere.c')
| -rw-r--r-- | src/PJ_stere.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PJ_stere.c b/src/PJ_stere.c index 5c130420..ca76fdf3 100644 --- a/src/PJ_stere.c +++ b/src/PJ_stere.c @@ -28,7 +28,7 @@ ssfn_(double phit, double sinphi, double eccen) { pow((1. - sinphi) / (1. + sinphi), .5 * eccen)); } FORWARD(e_forward); /* ellipsoid */ - double coslam, sinlam, sinX, cosX, X, A, sinphi; + double coslam, sinlam, sinX=0.0, cosX=0.0, X, A, sinphi; coslam = cos(lp.lam); sinlam = sin(lp.lam); @@ -92,7 +92,7 @@ oblcon: return (xy); } INVERSE(e_inverse); /* ellipsoid */ - double cosphi, sinphi, tp, phi_l, rho, halfe, halfpi; + double cosphi, sinphi, tp=0.0, phi_l=0.0, rho, halfe=0.0, halfpi=0.0; int i; rho = hypot(xy.x, xy.y); |
