* decl.c (force_poplevels): Fix warning call.
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Jul 2003 10:58:33 +0000 (10:58 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Jul 2003 10:58:33 +0000 (10:58 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69782 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/java/ChangeLog
gcc/java/decl.c

index 1de47fe..afbc4ff 100644 (file)
@@ -1,3 +1,7 @@
+2003-07-25  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * decl.c (force_poplevels): Fix warning call.
+
 2003-07-25  Gabriel Dos Reis  <gdr@integrable-solutions.net>
 
        * expr.c (expand_java_field_op): Don't use xxx_with_decl
index d1c5b5c..a447d24 100644 (file)
@@ -1500,8 +1500,7 @@ force_poplevels (int start_pc)
   while (current_binding_level->start_pc > start_pc)
     {
       if (pedantic && current_binding_level->start_pc > start_pc)
-       warning (current_function_decl, 
-                 "%HIn %D: overlapped variable and exception ranges at %d",
+       warning ("%HIn %D: overlapped variable and exception ranges at %d",
                  &DECL_SOURCE_LOCATION (current_function_decl),
                  current_function_decl, current_binding_level->start_pc);
       expand_end_bindings (getdecls (), 1, 0);