From aa00a53a0f27b033eeb0eeca1924cdc0a9ca4dc0 Mon Sep 17 00:00:00 2001 From: Frank Warmerdam Date: Wed, 3 Mar 2010 05:44:20 +0000 Subject: avoid warnings git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1827 4e78687f-474d-0410-85f9-8d5e500ac6b2 --- src/pj_ell_set.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pj_ell_set.c') 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) ; -- cgit v1.2.3