mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-17 07:24:34 +00:00
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:
parent
cef581e9e1
commit
a7dda3864d
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user