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:
Dodji Seketeli 2015-05-06 10:16:38 +02:00
parent 5c08779f5d
commit 61939fd07e

View File

@ -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