| Submitter | Tobias Burnus |
|---|---|
| Date | Feb. 13, 2011, 8:55 a.m. |
| Message ID | <4D579C8E.3070501@net-b.de> |
| Download | mbox | patch |
| Permalink | /patch/82973/ |
| State | New |
| Headers | show |
Comments
On Feb 13, 2011, at 12:55 AM, Tobias Burnus wrote: > Mike Stump wrote: >> cp: >> * Make-lang.in (build/slashify): Plugify Objective-C++. >> (cp/parser.o): Likewise. > > Compilation fails as the variable "attributes" is no longer used. > > Fix attached patch committed as obvious as Rev. 170103 Ah, unfortunately, the patch is ever so slightly wrong.... I've cleanup up the real problem and checked it in... Thanks for the alert.
Patch
Index: ChangeLog =================================================================== --- ChangeLog (Revision 170102) +++ ChangeLog (Arbeitskopie) @@ -1,3 +1,7 @@ +2011-02-13 Tobias Burnus <burnus@net-b.de> + + * parser.c (cp_parser_declaration): Remove unused variable. + 2011-02-13 Mike Stump <mikestump@comcast.net> * Make-lang.in (cp/parser.o): Move c-family/c-objc.h dependancy Index: parser.c =================================================================== --- parser.c (Revision 170102) +++ parser.c (Arbeitskopie) @@ -9325,7 +9325,6 @@ cp_parser_declaration (cp_parser* parser) cp_token token2; int saved_pedantic; void *p; - tree attributes = NULL_TREE; /* Check for the `__extension__' keyword. */ if (cp_parser_extension_opt (parser, &saved_pedantic))