* c-decl.c (grokdeclarator): Remove unused variable "last".

From-SVN: r20422
This commit is contained in:
Graham Stott 1998-06-10 16:36:37 -06:00 committed by Jeff Law
parent e80716de42
commit b3fbc9ad49
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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