aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_sconics.c
diff options
context:
space:
mode:
authorFrank Warmerdam <warmerdam@pobox.com>2001-02-07 17:55:05 +0000
committerFrank Warmerdam <warmerdam@pobox.com>2001-02-07 17:55:05 +0000
commit6ab5e6cfa7775b8fe77a93432d331b8654a33b3f (patch)
tree9af88663973b8f6c23f345c4783a16ca1de223ce /src/PJ_sconics.c
parent6c008cb7ae007b6f0cb813febcefa60c718c05c7 (diff)
downloadPROJ-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_sconics.c')
-rw-r--r--src/PJ_sconics.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/PJ_sconics.c b/src/PJ_sconics.c
index 567e4f60..422e3c99 100644
--- a/src/PJ_sconics.c
+++ b/src/PJ_sconics.c
@@ -37,7 +37,7 @@ PROJ_HEAD(vitk1, "Vitkovsky I")
/* get common factors for simple conics */
static int
phi12(PJ *P, double *del) {
- double p1, p2, d, s;
+ double p1, p2;
int err = 0;
if (!pj_param(P->params, "tlat_1").i ||
@@ -96,10 +96,10 @@ INVERSE(s_inverse); /* ellipsoid & spheroid */
FREEUP; if (P) pj_dalloc(P); }
static PJ *
setup(PJ *P) {
- double del, cs, dummy;
+ double del, cs;
int i;
- if (i = phi12(P, &del))
+ if( (i = phi12(P, &del)) )
E_ERROR(i);
switch (P->type) {
case TISSOT: