From 66e04bf4e5cdb27a44e9bea6bacad22c02df2f0d Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Sun, 26 Feb 2017 00:22:03 +0100 Subject: Fix warnings related to -Wshadow -Wnull-dereference -Wfloat-conversionr -Wmissing-prototypes -Wmissing-declarations --- src/pj_apply_gridshift.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pj_apply_gridshift.c') diff --git a/src/pj_apply_gridshift.c b/src/pj_apply_gridshift.c index 40fe7cdc..91e2de26 100644 --- a/src/pj_apply_gridshift.c +++ b/src/pj_apply_gridshift.c @@ -162,7 +162,7 @@ int pj_apply_gridshift_3( projCtx ctx, PJ_GRIDINFO **tables, int grid_count, for( child = gi->child; child != NULL; child = child->next ) { struct CTABLE *ct1 = child->ct; - double epsilon = + epsilon = (fabs(ct1->del.phi)+fabs(ct1->del.lam))/10000.0; if( ct1->ll.phi - epsilon > input.phi -- cgit v1.2.3