From 3bd50fe6c0b0a4f9b542eaf67518685415b44b00 Mon Sep 17 00:00:00 2001 From: Kristian Evers Date: Mon, 1 May 2017 15:37:22 +0200 Subject: 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. --- src/PJ_cart.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') 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 */ -- cgit v1.2.3