From 442ef6a29b58b3c8a409028fd2d692ebb71826c5 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Fri, 11 Sep 2015 08:43:55 -0400 Subject: [PATCH] CLI2: Combined two conditions --- src/CLI2.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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")); } ////////////////////////////////////////////////////////////////////////////////