aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_chamb.c
diff options
context:
space:
mode:
authorThomas Knudsen <lastname DOT firstname AT gmail DOT com>2016-04-14 21:07:50 +0200
committerThomas Knudsen <lastname DOT firstname AT gmail DOT com>2016-04-14 21:07:50 +0200
commit147885200d7c0474a59b03224848a87b77bef917 (patch)
tree640574707a1e5b79fc48422c4f40be6ddd81b275 /src/PJ_chamb.c
parent1b9f4331c65d7d98d276433cc124e667c9aa695e (diff)
downloadPROJ-147885200d7c0474a59b03224848a87b77bef917.tar.gz
PROJ-147885200d7c0474a59b03224848a87b77bef917.zip
Minor cleanups of PJ_c...
A few cases of mixed declarations and code cleaned up, a few unused parameter warnings eliminated
Diffstat (limited to 'src/PJ_chamb.c')
-rw-r--r--src/PJ_chamb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PJ_chamb.c b/src/PJ_chamb.c
index c35061f3..68d99f26 100644
--- a/src/PJ_chamb.c
+++ b/src/PJ_chamb.c
@@ -109,13 +109,13 @@ static void freeup (PJ *P) {
PJ *PROJECTION(chamb) {
+ int i, j;
+ char line[10];
struct pj_opaque *Q = pj_calloc (1, sizeof (struct pj_opaque));
if (0==Q)
return freeup_new (P);
P->opaque = Q;
- int i, j;
- char line[10];
for (i = 0; i < 3; ++i) { /* get control point locations */
(void)sprintf(line, "rlat_%d", i+1);