aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/jvspec.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-03-23 07:24:15 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-03-23 07:24:15 +0000
commit9ee9b555021cd59c28ca989a4cdeff4cc0f9cbcc (patch)
treea2fcdf12a5baef3b05d14d32b95512c4b247997d /gcc/java/jvspec.c
parentea735e02ae57dfb05059317011ceb9935f1a44a6 (diff)
downloadgcc-9ee9b555021cd59c28ca989a4cdeff4cc0f9cbcc.zip
gcc-9ee9b555021cd59c28ca989a4cdeff4cc0f9cbcc.tar.gz
gcc-9ee9b555021cd59c28ca989a4cdeff4cc0f9cbcc.tar.bz2
Warning fixes:
* gjavah.c (print_c_decl): Remove unused argument `flags'. * jcf-dump.c (print_access_flags): Add braces around if-else. * jvspec.c (lang_specific_driver): Wrap variable `len' in macro COMBINE_INPUTS. * lex.c (build_wfl_node): Add static prototype. * lex.h (build_wfl_node): Remove static prototype. * parse.y: Include lex.c early enough to declare everything needed. Ensure calls to `build_wfl_node' pass the proper arguments. (create_class): Remove unused variable `super_decl'. (get_printable_method_name): Initialize variable `name'. From-SVN: r25921
Diffstat (limited to 'gcc/java/jvspec.c')
-rw-r--r--gcc/java/jvspec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/java/jvspec.c b/gcc/java/jvspec.c
index d048327..fee65b8 100644
--- a/gcc/java/jvspec.c
+++ b/gcc/java/jvspec.c
@@ -328,7 +328,9 @@ lang_specific_driver (fn, in_argc, in_argv, in_added_libraries)
}
else
{
+#if COMBINE_INPUTS
int len;
+#endif
if (saw_speclang)
{