diff options
| author | Thomas Knudsen <lastname DOT firstname AT gmail DOT com> | 2016-05-11 08:58:28 +0200 |
|---|---|---|
| committer | Thomas Knudsen <lastname DOT firstname AT gmail DOT com> | 2016-05-11 08:58:28 +0200 |
| commit | f58ba586ebf11700317513f7bb5be84590d37a42 (patch) | |
| tree | 0961d66f6cc07f262ea45e23d55efcd4c90c25c2 /src/PJ_labrd.c | |
| parent | e8ed8e58e8f557fc6f9443a00af1e73a5956c759 (diff) | |
| download | PROJ-f58ba586ebf11700317513f7bb5be84590d37a42.tar.gz PROJ-f58ba586ebf11700317513f7bb5be84590d37a42.zip | |
Portability cleanups for the code in PR #6 (and a few additional source files)
Eliminated mixed code and declarations, converted C++ style comments and
probably did a few more things highlighted by running gcc with the "-W
-Wall -Wextra -pedantic" flags
Diffstat (limited to 'src/PJ_labrd.c')
| -rw-r--r-- | src/PJ_labrd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PJ_labrd.c b/src/PJ_labrd.c index e7bca390..4c435731 100644 --- a/src/PJ_labrd.c +++ b/src/PJ_labrd.c @@ -109,11 +109,11 @@ static void freeup (PJ *P) { PJ *PROJECTION(labrd) { + double Az, sinp, R, N, t; struct pj_opaque *Q = pj_calloc (1, sizeof (struct pj_opaque)); if (0==Q) return freeup_new (P); P->opaque = Q; - double Az, sinp, R, N, t; Q->rot = pj_param(P->ctx, P->params, "bno_rot").i == 0; Az = pj_param(P->ctx, P->params, "razi").f; |
