]> gcc.gnu.org Git - gcc.git/blobdiff - gcc/function.c
decl.c (java_expand_body): Kill.
[gcc.git] / gcc / function.c
index a2956b363a974fecaf0a5dffcd6e18bf2f485419..ffee5982071202d99f4af8aa1b96b48d441f0a25 100644 (file)
@@ -4404,13 +4404,6 @@ expand_function_end (void)
          }
     }
 
-  /* Possibly warn about unused parameters.
-     When frontend does unit-at-a-time, the warning is already
-     issued at finalization time.  */
-  if (warn_unused_parameter
-      && !lang_hooks.callgraph.expand_function)
-    do_warn_unused_parameter (current_function_decl);
-
   /* End any sequences that failed to be closed due to syntax errors.  */
   while (in_sequence_p ())
     end_sequence ();
This page took 0.028506 seconds and 5 git commands to generate.