gengtype.c (write_types): Fix warning message.

* gengtype.c (write_types): Fix warning message.
	(write_local): Likewise.

From-SVN: r187118
This commit is contained in:
Jason Merrill 2012-05-03 17:29:07 -04:00 committed by Jason Merrill
parent a85951f442
commit 88f4f86ff0
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2012-05-03 Jason Merrill <jason@redhat.com>
* gengtype.c (write_types): Fix warning message.
(write_local): Likewise.
2012-05-02 Jason Merrill <jason@redhat.com>
* dwarf2out.c (struct external_ref, build_local_stub): New.

View File

@ -3286,7 +3286,7 @@ write_types (outf_p output_header, type_p structures, type_p param_structs,
if (stru->u.s.line.file == NULL)
{
fprintf (stderr, "warning: structure `%s' used but not defined\n",
s->u.s.tag);
stru->u.s.tag);
continue;
}
}
@ -3522,7 +3522,7 @@ write_local (outf_p output_header, type_p structures, type_p param_structs)
if (stru->u.s.line.file == NULL)
{
fprintf (stderr, "warning: structure `%s' used but not defined\n",
s->u.s.tag);
stru->u.s.tag);
continue;
}