aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2017-05-01 15:37:22 +0200
committerKristian Evers <kristianevers@gmail.com>2017-05-01 15:37:22 +0200
commit3bd50fe6c0b0a4f9b542eaf67518685415b44b00 (patch)
tree6eb26847aacf7e72972d2d7fb22dde075a006273 /src
parent74c1cd76b2ef3a4e1224d9571d62ad711a50feb0 (diff)
downloadPROJ-3bd50fe6c0b0a4f9b542eaf67518685415b44b00.tar.gz
PROJ-3bd50fe6c0b0a4f9b542eaf67518685415b44b00.zip
Removed unwanted call to pj_log_level().
When running the self-test with logging was turned off globally when the PJ_cart test was run. As a consequence all test functions called after PJ_cart was not able to output debugging information. In most cases this would go by unnoticed but when calling proj with PROJ_DEBUG=1 (or higher) all debugging output whould get suppressed. This commit removes the call to pj_log_level that turns of debugging output in the self-test.
Diffstat (limited to 'src')
-rw-r--r--src/PJ_cart.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/PJ_cart.c b/src/PJ_cart.c
index c585fbeb..f3379a1b 100644
--- a/src/PJ_cart.c
+++ b/src/PJ_cart.c
@@ -252,9 +252,6 @@ int pj_cart_selftest (void) {
if (0==P)
return 2;
- /* Turn off logging */
- pj_log_level (0, PJ_LOG_NONE);
-
/* zero initialize everything, then set (longitude, latitude) to (12, 55) */
a = pj_obs_null;
/* a.coo.lp: The coordinate part of a, interpreted as a classic LP pair */