Skip to content

Commit

Permalink
Removed unwanted call to pj_log_level().
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kbevers committed May 1, 2017
1 parent 74c1cd7 commit 3bd50fe
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/PJ_cart.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 3bd50fe

Please sign in to comment.