* c-pretty-print.c (pp_c_pretty_printer_init): Clear pp->flags.

From-SVN: r196444
This commit is contained in:
Jakub Jelinek 2013-03-04 22:32:05 +01:00 committed by Jakub Jelinek
parent f3a1fb911a
commit 48c414032a
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2013-03-04 Jakub Jelinek <jakub@redhat.com>
* c-pretty-print.c (pp_c_pretty_printer_init): Clear pp->flags.
2013-02-28 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
Jakub Jelinek <jakub@redhat.com>

View File

@ -2311,6 +2311,8 @@ pp_c_pretty_printer_init (c_pretty_printer *pp)
{
pp->offset_list = 0;
pp->flags = 0;
pp->declaration = pp_c_declaration;
pp->declaration_specifiers = pp_c_declaration_specifiers;
pp->declarator = pp_c_declarator;