* method.c: Remove prototype for largest_union_member.
* pt.c (determine_specialization): Fix uninitialized warning.
* lex.c (real_yylex): Likewise.
From-SVN: r28302
+1999-07-27 Jason Merrill <jason@yorick.cygnus.com>
+
+ * method.c: Remove prototype for largest_union_member.
+ * pt.c (determine_specialization): Fix uninitialized warning.
+ * lex.c (real_yylex): Likewise.
+
1999-07-27 Mark Mitchell <mark@codesourcery.com>
* class.c (override_one_vtable): Adjust the use of BINFO_VIRTUALS
int spec_long = 0;
int spec_long_long = 0;
int spec_imag = 0;
- int warn, i;
+ int warn = 0;
+ int i;
while (1)
{
static void process_overload_item PROTO((tree,int));
static void do_build_assign_ref PROTO((tree));
static void do_build_copy_constructor PROTO((tree));
-static tree largest_union_member PROTO((tree));
static void build_template_template_parm_names PROTO((tree));
static void build_template_parm_names PROTO((tree, tree));
static void build_underscore_int PROTO((int));
tree* targs_out;
int need_member_template;
{
- tree fn;
tree fns;
tree targs;
tree explicit_targs;
if (!is_overloaded_fn (fns))
{
- cp_error ("`%D' is not a function template", fn);
+ cp_error ("`%D' is not a function template", fns);
return error_mark_node;
}
{
tree tmpl;
- fn = OVL_CURRENT (fns);
+ tree fn = OVL_CURRENT (fns);
if (TREE_CODE (fn) == TEMPLATE_DECL)
/* DECL might be a specialization of FN. */