summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-07-29 02:33:32 +0000
committerRichard Stallman <rms@gnu.org>1993-07-29 02:33:32 +0000
commit1c5334be7d63e92707a77bef001cc6169ece62ce (patch)
treeace52b7317be9d435442f7e769e7c0c275098038
parent9825189b2eee77d5851773be490af87fae2252c5 (diff)
downloadgcc-1c5334be7d63e92707a77bef001cc6169ece62ce.tar.gz
Fix typo in last change.
From-SVN: r5036
-rw-r--r--gcc/c-decl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index b220cacae85..85a877b6b78 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -5648,8 +5648,8 @@ start_function (declspecs, declarator, nested)
announce_function (decl1);
- if (TREE_THIS_VOLATILE (decl)
- && TREE_TYPE (decl) != void_type_node)
+ if (TREE_THIS_VOLATILE (decl1)
+ && TREE_TYPE (decl1) != void_type_node)
warning ("volatile function returns non-void value");
if (TYPE_SIZE (TREE_TYPE (TREE_TYPE (decl1))) == 0)