aboutsummaryrefslogtreecommitdiff
path: root/src/pj_apply_gridshift.c
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2018-03-15 08:29:49 +0100
committerGitHub <noreply@github.com>2018-03-15 08:29:49 +0100
commit16618bf5763aa235e01755d4865b455ccb14c928 (patch)
tree41c5920fd36155375648dff8fd96d197308091f3 /src/pj_apply_gridshift.c
parent30090445886a8f6842028b5ab20601f4c7336fe2 (diff)
parent3cc7b4c62382650f9bf00365b25f8fa7f6eed603 (diff)
downloadPROJ-16618bf5763aa235e01755d4865b455ccb14c928.tar.gz
PROJ-16618bf5763aa235e01755d4865b455ccb14c928.zip
Merge pull request #860 from rouault/cppcheck
Fix various issues spotted by cppcheck and clang static analyzer
Diffstat (limited to 'src/pj_apply_gridshift.c')
-rw-r--r--src/pj_apply_gridshift.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pj_apply_gridshift.c b/src/pj_apply_gridshift.c
index a2267cbd..c503ec0b 100644
--- a/src/pj_apply_gridshift.c
+++ b/src/pj_apply_gridshift.c
@@ -206,10 +206,10 @@ int pj_apply_gridshift_3( projCtx ctx, PJ_GRIDINFO **tables, int grid_count,
if( ct != NULL )
{
output = nad_cvt( input, inverse, ct );
- }
- if ( output.lam != HUGE_VAL && debug_count++ < 20 )
- pj_log( ctx, PJ_LOG_DEBUG_MINOR, "pj_apply_gridshift(): used %s", ct->id );
+ if ( output.lam != HUGE_VAL && debug_count++ < 20 )
+ pj_log( ctx, PJ_LOG_DEBUG_MINOR, "pj_apply_gridshift(): used %s", ct->id );
+ }
if ( output.lam == HUGE_VAL )
{