aboutsummaryrefslogtreecommitdiff
path: root/gdb/jv-lang.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-06 23:36:39 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-06 23:36:39 +0000
commitb5385fc0f02ffc78a7bcfbcfbcc7f5c57c48ea7e (patch)
treeabc58d929383aee51cb10a407d993855be3fbb47 /gdb/jv-lang.c
parent4fc06681d353f36e1292a062bb01c0f35a31ef38 (diff)
downloadgdb-b5385fc0f02ffc78a7bcfbcfbcc7f5c57c48ea7e.zip
gdb-b5385fc0f02ffc78a7bcfbcfbcc7f5c57c48ea7e.tar.gz
gdb-b5385fc0f02ffc78a7bcfbcfbcc7f5c57c48ea7e.tar.bz2
2010-05-06 Michael Snyder <msnyder@vmware.com>
* ada-lang.c (add_defn_to_vec): Delete unused variable. (decode_constrained_packed_array_type): Delete unused variable. (add_defn_to_vec): Delete unused variable. (symbol_completion_match): Delete unused variable. (value_tag_from_contents_and_address): Delete unused variable. (ada_evaluate_subexp): Delete unused variable. * c-lang.c (classify_type): Delete unused variable. * f-lang.c (f_printstr): Delete unused variable. * objc-lang.c (objc_printstr): Delete unused variable. * ada-tasks.c (get_known_tasks_addr): Delete unused variable. * jv-lang.c (type_from_class): ifdef unused variable. (java_class_name_from_physname): Delete unused variable. * m2-lang.c (m2_printstr): Delete unused variable.
Diffstat (limited to 'gdb/jv-lang.c')
-rw-r--r--gdb/jv-lang.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/jv-lang.c b/gdb/jv-lang.c
index b911724..e8d12cd 100644
--- a/gdb/jv-lang.c
+++ b/gdb/jv-lang.c
@@ -268,8 +268,10 @@ type_from_class (struct gdbarch *gdbarch, struct value *clas)
struct value *utf8_name;
char *nptr;
CORE_ADDR addr;
+#if 0
struct block *bl;
struct dict_iterator iter;
+#endif
int is_array = 0;
type = check_typedef (value_type (clas));
@@ -1053,7 +1055,6 @@ java_class_name_from_physname (const char *physname)
{
char *ret = NULL;
const char *end;
- int depth = 0;
char *demangled_name = java_demangle (physname, DMGL_PARAMS | DMGL_ANSI);
if (demangled_name == NULL)