From d640220cf872edb863ae66d41dc3b0ae6f68ea2f Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Thu, 12 Nov 1998 06:26:08 -0800 Subject: class.c: Remove some unused variables. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit � * class.c: Remove some unused variables. * constants.c (find_string_constant): New function. (count_constant_pool_bytes): Fix to correctly handle wide constants. * decl.c (complete_start_java_method): Don't _Jv_InitClass if flag_emit_class_files. From-SVN: r23616 --- gcc/java/class.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'gcc/java/class.c') diff --git a/gcc/java/class.c b/gcc/java/class.c index 47e9f5c..8539219 100644 --- a/gcc/java/class.c +++ b/gcc/java/class.c @@ -422,7 +422,7 @@ add_method (this_class, access_flags, name, method_sig) tree method_sig; { tree handle_class = CLASS_TO_HANDLE_TYPE (this_class); - tree function_type, method_type, fndecl; + tree function_type, fndecl; unsigned char *sig = (unsigned char*)IDENTIFIER_POINTER (method_sig); push_obstacks (&permanent_obstack, &permanent_obstack); if (sig[0] != '(') @@ -1172,9 +1172,6 @@ append_gpp_mangled_type (obstack, type) struct obstack *obstack; tree type; { - char buf[8]; - int len; - char *ptr; switch (TREE_CODE (type)) { char code; -- cgit v1.1