mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-09 22:35:09 +08:00
* c-decl.c (grokdeclarator): Remove unused variable "last".
From-SVN: r20422
This commit is contained in:
parent
e80716de42
commit
b3fbc9ad49
@ -2,6 +2,8 @@ Wed Jun 10 23:23:17 1998 Graham <grahams@rcp.co.uk>
|
||||
|
||||
* c-decl.c (start_decl): Correct test for -Wmain.
|
||||
|
||||
* c-decl.c (grokdeclarator): Remove unused variable "last".
|
||||
|
||||
Wed Jun 10 14:52:27 1998 Jim Wilson <wilson@cygnus.com>
|
||||
|
||||
* expr.c (expand_builtin_setjmp): Store const1_rtx in target.
|
||||
|
@ -5199,8 +5199,6 @@ grokdeclarator (declarator, declspecs, decl_context, initialized)
|
||||
/* Record presence of `inline', if it is reasonable. */
|
||||
if (inlinep)
|
||||
{
|
||||
tree last = tree_last (TYPE_ARG_TYPES (type));
|
||||
|
||||
if (! strcmp (IDENTIFIER_POINTER (declarator), "main"))
|
||||
warning ("cannot inline function `main'");
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user