From a7dda3864dca383050310ac0d642eae8d9b1ea25 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Mon, 9 Oct 2017 09:30:37 +0200 Subject: [PATCH] Fix -Wmisleading-indentation warning in abg-leaf-reporter.cc. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit abg-leaf-reporter.cc: In member function ‘virtual void abigail::comparison::leaf_reporter::report(const abigail::comparison::qualified_type_diff&, std::ostream&, const string&) const’: abg-leaf-reporter.cc:158:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (!diff_to_be_reported(&d)) ^~ abg-leaf-reporter.cc:161:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ report_local_qualified_type_changes(d, out, indent); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * src/abg-leaf-reporter.cc (leaf_reporter::report): Fix misleading indentation. Signed-off-by: Mark Wielaard --- src/abg-leaf-reporter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/abg-leaf-reporter.cc b/src/abg-leaf-reporter.cc index f68f17ca..6fe4b192 100644 --- a/src/abg-leaf-reporter.cc +++ b/src/abg-leaf-reporter.cc @@ -158,7 +158,7 @@ leaf_reporter::report(const qualified_type_diff& d, ostream& out, if (!diff_to_be_reported(&d)) return; - report_local_qualified_type_changes(d, out, indent); + report_local_qualified_type_changes(d, out, indent); } /// Report the changes carried by a @ref pointer_diff node.