diff --git a/src/CLI2.cpp b/src/CLI2.cpp index 9236ce490..2176b6d54 100644 --- a/src/CLI2.cpp +++ b/src/CLI2.cpp @@ -518,9 +518,9 @@ void CLI2::demotion () } } - if (changes) - if (context.config.getInteger ("debug.parser") >= 2) - context.debug (dump ("CLI2::analyze demotion")); + if (changes && + context.config.getInteger ("debug.parser") >= 2) + context.debug (dump ("CLI2::analyze demotion")); } ////////////////////////////////////////////////////////////////////////////////