Fix -Wmisleading-indentation warning in abg-leaf-reporter.cc.

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 <mark@klomp.org>
This commit is contained in:
Mark Wielaard 2017-10-09 09:30:37 +02:00 committed by Dodji Seketeli
parent cef581e9e1
commit a7dda3864d

View File

@ -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.