mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-16 15:04:46 +00:00
Fix a thinko in removed variables detection
It appears the comparison engine was counting more deleted variables than necessary, due to a thinko. Fixed thus. * src/abg-comparison.cc (corpus_diff::priv::ensure_lookup_tables_populated): Once we have computed a set of potentially deleted variables that turned out to contain variables that were actually *NOT* deleted, really take these into account by removing these false positives from the set of deleted *variables*. We were trying to delete these from the set deleted *functions*; woops, I guess this was a copy & paste error. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
47bdb5f6d3
commit
bf6b1924c4
@ -12877,7 +12877,7 @@ corpus_diff::priv::ensure_lookup_tables_populated()
|
|||||||
for (vector<string>::const_iterator i = to_delete.begin();
|
for (vector<string>::const_iterator i = to_delete.begin();
|
||||||
i != to_delete.end();
|
i != to_delete.end();
|
||||||
++i)
|
++i)
|
||||||
deleted_fns_.erase(*i);
|
deleted_vars_.erase(*i);
|
||||||
|
|
||||||
// Do something similar for added variables.
|
// Do something similar for added variables.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user