projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e80716d
)
* c-decl.c (grokdeclarator): Remove unused variable "last".
author
Graham Stott
<grahams@rcp.co.uk>
Wed, 10 Jun 1998 22:36:37 +0000
(16:36 -0600)
committer
Jeff Law
<law@gcc.gnu.org>
Wed, 10 Jun 1998 22:36:37 +0000
(16:36 -0600)
From-SVN: r20422
gcc/ChangeLog
patch
|
blob
|
history
gcc/c-decl.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 8940ad57f5241d2a77e7f7056a990bc2850a2aee..f3696b9f469adbd197b6ca727dd7927fa81d2617 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-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.
diff --git
a/gcc/c-decl.c
b/gcc/c-decl.c
index dde17ad47740f53206f1b3e7d6ab9559e41d284d..0f5d21cba5470e57121889d10933027318b80d25 100644
(file)
--- a/
gcc/c-decl.c
+++ b/
gcc/c-decl.c
@@
-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