mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-20 17:00:36 +00:00
Fix a potential crash when comparing variadic parameters again
* src/abg-comparison.cc (redundancy_marking_visitor::visit_begin): Avoid flagging diffs of variadic parameter *types* as redundant as well. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
5c08779f5d
commit
61939fd07e
@ -12818,7 +12818,8 @@ struct redundancy_marking_visitor : public diff_node_visitor
|
||||
// Changes involving variadic parameters of functions
|
||||
// should never be marked redundant because we want to see
|
||||
// them all.
|
||||
&& !is_diff_of_variadic_parameter(d))
|
||||
&& !is_diff_of_variadic_parameter(d)
|
||||
&& !is_diff_of_variadic_parameter_type(d))
|
||||
{
|
||||
d->add_to_category(REDUNDANT_CATEGORY);
|
||||
// As we said in preamble, as this node is marked as
|
||||
|
Loading…
Reference in New Issue
Block a user