Fix typo in last change.
authorRichard Stallman <rms@gnu.org>
Thu, 29 Jul 1993 02:33:32 +0000 (02:33 +0000)
committerRichard Stallman <rms@gnu.org>
Thu, 29 Jul 1993 02:33:32 +0000 (02:33 +0000)
From-SVN: r5036

gcc/c-decl.c

index b220cacae85823fcf439555dc7fd5f37d6fa7395..85a877b6b78277cfb49a732863ce095f35255449 100644 (file)
@@ -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)