aboutsummaryrefslogtreecommitdiff
path: root/src/pj_ell_set.c
diff options
context:
space:
mode:
authorFrank Warmerdam <warmerdam@pobox.com>2010-03-03 05:44:20 +0000
committerFrank Warmerdam <warmerdam@pobox.com>2010-03-03 05:44:20 +0000
commitaa00a53a0f27b033eeb0eeca1924cdc0a9ca4dc0 (patch)
tree990adaa1749afef0ec06647d89e5f59542dafadc /src/pj_ell_set.c
parent3405bf76e70d12df6b9dc0c9c129c7dc96918e8d (diff)
downloadPROJ-aa00a53a0f27b033eeb0eeca1924cdc0a9ca4dc0.tar.gz
PROJ-aa00a53a0f27b033eeb0eeca1924cdc0a9ca4dc0.zip
avoid warnings
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1827 4e78687f-474d-0410-85f9-8d5e500ac6b2
Diffstat (limited to 'src/pj_ell_set.c')
-rw-r--r--src/pj_ell_set.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pj_ell_set.c b/src/pj_ell_set.c
index 989701ec..56cabd4c 100644
--- a/src/pj_ell_set.c
+++ b/src/pj_ell_set.c
@@ -21,7 +21,7 @@ pj_ell_set(paralist *pl, double *a, double *es) {
else { /* probable elliptical figure */
/* check if ellps present and temporarily append its values to pl */
- if (name = pj_param(pl, "sellps").s) {
+ if ((name = pj_param(pl, "sellps").s) != NULL) {
char *s;
for (start = pl; start && start->next ; start = start->next) ;