From f4d559c0f32ea2d0134f36c85a9c2f7896ea251c Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Fri, 28 Oct 2011 20:05:38 +0000 Subject: [PATCH] pt.c (unify_pack_expansion): Initialize bad_old_arg and bad_new_arg. 2011-10-28 Paolo Carlini * pt.c (unify_pack_expansion): Initialize bad_old_arg and bad_new_arg. From-SVN: r180626 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/pt.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 14723f0909d..750362b40b9 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2011-10-28 Paolo Carlini + + * pt.c (unify_pack_expansion): Initialize bad_old_arg and bad_new_arg. + 2011-10-28 Paolo Carlini PR c++/50864 diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index dc63366358b..bd95096d613 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -15715,7 +15715,7 @@ unify_pack_expansion (tree tparms, tree targs, tree packed_parms, } 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); if (!comp_template_args_with_info (old_args, new_args,