pt.c (unify_pack_expansion): Initialize bad_old_arg and bad_new_arg.

2011-10-28  Paolo Carlini  <paolo.carlini@oracle.com>

	* pt.c (unify_pack_expansion): Initialize bad_old_arg and bad_new_arg.

From-SVN: r180626
This commit is contained in:
Paolo Carlini 2011-10-28 20:05:38 +00:00 committed by Paolo Carlini
parent c550d7dda5
commit f4d559c0f3
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2011-10-28 Paolo Carlini <paolo.carlini@oracle.com>
* pt.c (unify_pack_expansion): Initialize bad_old_arg and bad_new_arg.
2011-10-28 Paolo Carlini <paolo.carlini@oracle.com> 2011-10-28 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/50864 PR c++/50864

View File

@ -15715,7 +15715,7 @@ unify_pack_expansion (tree tparms, tree targs, tree packed_parms,
} }
else else
{ {
tree bad_old_arg, bad_new_arg; tree bad_old_arg = NULL_TREE, bad_new_arg = NULL_TREE;
tree old_args = ARGUMENT_PACK_ARGS (old_pack); tree old_args = ARGUMENT_PACK_ARGS (old_pack);
if (!comp_template_args_with_info (old_args, new_args, if (!comp_template_args_with_info (old_args, new_args,