aboutsummaryrefslogtreecommitdiff
path: root/src/pj_apply_gridshift.c
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2018-05-07 21:43:22 +0200
committerKristian Evers <kristianevers@gmail.com>2018-05-07 21:43:22 +0200
commitae1ed6641210c3d7bf570688d11b28c6460e4e9c (patch)
tree6e37d6e330cc59c8d81ad80091f8d990b9e03ee1 /src/pj_apply_gridshift.c
parenta4a1cebe729c6eb3843b3a646d8e5f1cbb50920e (diff)
downloadPROJ-ae1ed6641210c3d7bf570688d11b28c6460e4e9c.tar.gz
PROJ-ae1ed6641210c3d7bf570688d11b28c6460e4e9c.zip
Clean readability-inconsistent-declaration-parameter-name clang-tidy warnings
Diffstat (limited to 'src/pj_apply_gridshift.c')
-rw-r--r--src/pj_apply_gridshift.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pj_apply_gridshift.c b/src/pj_apply_gridshift.c
index 1ef39b20..424dfb11 100644
--- a/src/pj_apply_gridshift.c
+++ b/src/pj_apply_gridshift.c
@@ -174,7 +174,7 @@ static struct CTABLE* find_ctable(projCtx ctx, LP input, int grid_count, PJ_GRID
/* This is the real workhorse, given a gridlist. */
/************************************************************************/
-int pj_apply_gridshift_3( projCtx ctx, PJ_GRIDINFO **tables, int grid_count,
+int pj_apply_gridshift_3( projCtx ctx, PJ_GRIDINFO **gridlist, int gridlist_count,
int inverse, long point_count, int point_offset,
double *x, double *y, double *z )
{
@@ -183,7 +183,7 @@ int pj_apply_gridshift_3( projCtx ctx, PJ_GRIDINFO **tables, int grid_count,
static int debug_count = 0;
(void) z;
- if( tables == NULL || grid_count == 0 )
+ if( gridlist== NULL || gridlist_count == 0 )
{
pj_ctx_set_errno(ctx, PJD_ERR_FAILED_TO_LOAD_GRID);
return PJD_ERR_FAILED_TO_LOAD_GRID;
@@ -202,7 +202,7 @@ int pj_apply_gridshift_3( projCtx ctx, PJ_GRIDINFO **tables, int grid_count,
output.phi = HUGE_VAL;
output.lam = HUGE_VAL;
- ct = find_ctable(ctx, input, grid_count, tables);
+ ct = find_ctable(ctx, input, gridlist_count, gridlist);
if( ct != NULL )
{
output = nad_cvt( input, inverse, ct );
@@ -220,9 +220,9 @@ int pj_apply_gridshift_3( projCtx ctx, PJ_GRIDINFO **tables, int grid_count,
" location (%.7fdW,%.7fdN)",
x[io] * RAD_TO_DEG,
y[io] * RAD_TO_DEG );
- for( itable = 0; itable < grid_count; itable++ )
+ for( itable = 0; itable < gridlist_count; itable++ )
{
- PJ_GRIDINFO *gi = tables[itable];
+ PJ_GRIDINFO *gi = gridlist[itable];
if( itable == 0 )
pj_log( ctx, PJ_LOG_DEBUG_MAJOR, " tried: %s", gi->gridname );
else