* c-decl.c (grokdeclarator): Remove unused variable "last".
authorGraham Stott <grahams@rcp.co.uk>
Wed, 10 Jun 1998 22:36:37 +0000 (16:36 -0600)
committerJeff Law <law@gcc.gnu.org>
Wed, 10 Jun 1998 22:36:37 +0000 (16:36 -0600)
From-SVN: r20422

gcc/ChangeLog
gcc/c-decl.c

index 8940ad5..f3696b9 100644 (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.
index dde17ad..0f5d21c 100644 (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