Skip to content

Commit a816279

Browse files
committed
Deactivated PDA_WARNING debug output.
1 parent 4134e2e commit a816279

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

src/debug.c

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -139,15 +139,18 @@ DebugInit()
139139
debug_mask = atoi(environment_pda_debug);
140140
}
141141

142-
fprintf(DEBUG_CHANNEL,
143-
ENV_WRN " : The PDA library has debug support "
142+
if(false)
143+
{
144+
fprintf(DEBUG_CHANNEL,
145+
ENV_WRN " : The PDA library has debug support "
144146
"(current debug mask is %u).\n", debug_mask );
145-
fprintf(DEBUG_CHANNEL,
146-
ENV_WRN " : Please use the environment variable " ENV_VAR
147-
" to change the debug mask!\n");
148-
fprintf(DEBUG_CHANNEL,
149-
ENV_WRN " : Please set " ENV_VAR " to the value %u to "
150-
"get all debug output!\n", PDADEBUG_ALL);
147+
fprintf(DEBUG_CHANNEL,
148+
ENV_WRN " : Please use the environment variable " ENV_VAR
149+
" to change the debug mask!\n");
150+
fprintf(DEBUG_CHANNEL,
151+
ENV_WRN " : Please set " ENV_VAR " to the value %u to "
152+
"get all debug output!\n", PDADEBUG_ALL);
153+
}
151154
}
152155
}
153156

0 commit comments

Comments
 (0)