aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2017-12-17 15:54:39 +0100
committerKristian Evers <kristianevers@gmail.com>2017-12-17 18:56:38 +0100
commit80a5172acd1d75b35727132a95151c9ecbbe6899 (patch)
tree6a6d0ce1244d00d29c429a42634ccfe51388ad9a /src
parent6cd160fe5c96559a7c388647244f8cfa16426b3d (diff)
downloadPROJ-80a5172acd1d75b35727132a95151c9ecbbe6899.tar.gz
PROJ-80a5172acd1d75b35727132a95151c9ecbbe6899.zip
Add -std=c89 to travis targets.
The multistresstest code has been made C89 compliant in the process.
Diffstat (limited to 'src')
-rw-r--r--src/multistresstest.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/multistresstest.c b/src/multistresstest.c
index c9c11c6d..8e7517ec 100644
--- a/src/multistresstest.c
+++ b/src/multistresstest.c
@@ -161,7 +161,7 @@ TestItem test_list[] = {
0, 0
},
{
- //Bad projection (invalid ellipsoid parameter +R_A=0)
+ /* Bad projection (invalid ellipsoid parameter +R_A=0) */
"+proj=utm +zone=11 +datum=WGS84",
"+proj=merc +datum=potsdam +R_A=0",
150000.0, 3000000.0, 0.0,
@@ -201,7 +201,6 @@ static void TestThread()
/* -------------------------------------------------------------------- */
projPJ *src_pj_list, *dst_pj_list;
projCtx ctx = pj_ctx_alloc();
-// projCtx ctx = pj_get_default_ctx();
src_pj_list = (projPJ *) calloc(test_count,sizeof(projPJ));
dst_pj_list = (projPJ *) calloc(test_count,sizeof(projPJ));