summaryrefslogtreecommitdiff
path: root/source3/lib/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/debug.c')
-rw-r--r--source3/lib/debug.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/lib/debug.c b/source3/lib/debug.c
index 321b08e099..ea0aad2c90 100644
--- a/source3/lib/debug.c
+++ b/source3/lib/debug.c
@@ -89,7 +89,6 @@ static struct {
static char *debugf = NULL;
bool debug_warn_unknown_class = True;
bool debug_auto_add_unknown_class = True;
-bool AllowDebugChange = True;
/*
used to check if the user specified a
@@ -469,9 +468,6 @@ bool debug_parse_levels(const char *params_str)
/* Just in case */
debug_init();
- if (AllowDebugChange == False)
- return True;
-
params = str_list_make_v3(talloc_tos(), params_str, NULL);
if (debug_parse_params(params)) {