Add missing new line after reporting alignment changes

* src/abg-comparison.cc (distinct_diff::report): After calling
	report_size_and_alignment_changes, one needs to add a new line if
	some stuff got emitted out the output stream.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
Dodji Seketeli 2015-02-20 15:13:19 +01:00
parent bbf550f493
commit 5f929d456c

View File

@ -3818,7 +3818,8 @@ distinct_diff::report(ostream& out, const string& indent) const
if (diff_sptr diff = compatible_child_diff())
diff->report(out, indent + " ");
else
report_size_and_alignment_changes(f, s, context(), out, indent, true);
if (report_size_and_alignment_changes(f, s, context(), out, indent, true))
out << "\n";
}
/// Try to diff entities that are of distinct kinds.