From 73f68e2b2a204d6cea78440b3b647293b5dd562b Mon Sep 17 00:00:00 2001 From: Geoff McLane Date: Fri, 17 Mar 2017 18:02:11 +0100 Subject: [PATCH] Issue #119 - remove old debug code --- console/tidy.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/console/tidy.c b/console/tidy.c index 5331c6f..bf1b0f0 100644 --- a/console/tidy.c +++ b/console/tidy.c @@ -2053,6 +2053,15 @@ int main( int argc, char** argv ) if ( status >= 0 ) { status = tidyRunDiagnostics( tdoc ); + /*\ Issue #119 - but not really related to 'custom_tags' support. + * Issue ?: To remove some 2014 extra debug output - I wanted to + * remove the Info: messages, but chose to except one, namely + * tidyReportDoctype(), but never intended keeping it here + * for so long! + * That doctype Info:, and all others, are still reported by + * default. geoff + \*/ +#if 0 /* 000000000 this code can be removed some time in future 00000000000 */ if ( !tidyOptGetBool(tdoc, TidyQuiet) ) { /* NOT quiet, show DOCTYPE, if not already shown */ if (!tidyOptGetBool(tdoc, TidyShowInfo)) { @@ -2061,7 +2070,7 @@ int main( int argc, char** argv ) tidyOptSetBool( tdoc, TidyShowInfo, no ); } } - +#endif /* 000000000 this code can be removed some time in future 00000000000 */ } if ( status > 1 ) /* If errors, do we want to force output? */ status = ( tidyOptGetBool(tdoc, TidyForceOutput) ? status : -1 );