]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* decl.c (force_poplevels): Fix warning call.
authorNathan Sidwell <nathan@codesourcery.com>
Fri, 25 Jul 2003 10:58:33 +0000 (10:58 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 25 Jul 2003 10:58:33 +0000 (10:58 +0000)
From-SVN: r69782

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

index 1de47fe43293af0d1931c454d3a0e3f477a6f7d2..afbc4ffb8dfeaeff25816dc829880088d9a8f348 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 d1c5b5cc657fa7dd897291cd9ad1118fb598aa96..a447d24037c2233c2bf9d5c5752dab0170a3abfc 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);