aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pj_ctx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pj_ctx.c b/src/pj_ctx.c
index a8edaf43..326249ac 100644
--- a/src/pj_ctx.c
+++ b/src/pj_ctx.c
@@ -159,7 +159,7 @@ void pj_ctx_set_debug( projCtx ctx, int new_debug )
{
if (0==ctx)
- pj_get_default_ctx ()->debug_level = new_debug;
+ return;
ctx->debug_level = new_debug;
}