OSDN Git Service

(start_function): Fix improper installation of last change.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 2 Feb 1997 12:15:44 +0000 (12:15 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 2 Feb 1997 12:15:44 +0000 (12:15 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13581 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/c-decl.c

index 46c0f9c..f4c4a06 100644 (file)
@@ -6293,16 +6293,16 @@ start_function (declspecs, declarator, prefix_attributes, attributes, nested)
                   "third argument of `%s' should probably be `char **'");
              break;
            }
+       }
 
-         /* It is intentional that this message does not mention the third
-            argument, which is warned for only pedantically, because it's
-            blessed by mention in an appendix of the standard. */
-         if (argct > 0 && (argct < 2 || argct > 3))
-           pedwarn_with_decl (decl1, "`%s' takes only zero or two arguments");
+      /* It is intentional that this message does not mention the third
+        argument, which is warned for only pedantically, because it's
+        blessed by mention in an appendix of the standard. */
+      if (argct > 0 && (argct < 2 || argct > 3))
+       pedwarn_with_decl (decl1, "`%s' takes only zero or two arguments");
 
-         if (argct == 3 && pedantic)
-           pedwarn_with_decl (decl1, "third argument of `%s' is deprecated");
-       }
+      if (argct == 3 && pedantic)
+       pedwarn_with_decl (decl1, "third argument of `%s' is deprecated");
 
       if (! TREE_PUBLIC (decl1))
        pedwarn_with_decl (decl1, "`%s' is normally a non-static function");