mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-25 19:22:07 +00:00
Add an assert to the pointer diff reporting code
* src/abg-comparison.cc (pointer_diff::report): If the pointer diff node is deemed to be reported then the underlying diff node should be reported as well. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
00a0f986d6
commit
609a49832c
@ -1692,6 +1692,7 @@ pointer_diff::report(ostream& out, const string& indent) const
|
||||
string name = d->first_subject()->get_pretty_representation();
|
||||
if (diff_sptr d2 = context()->has_diff_for(d))
|
||||
{
|
||||
assert(d2->to_be_reported());
|
||||
if (d2->currently_reporting())
|
||||
out << indent << "pointed to type '"
|
||||
<< name
|
||||
|
Loading…
Reference in New Issue
Block a user