From 1c5465ac6061382a64975cbe2e619054bfc71c45 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Fri, 7 May 2010 01:12:14 +0000 Subject: 2010-05-06 Michael Snyder * frame-unwind.c (frame_unwind_find_by_frame): Delete unused variable. * gnu-v2-abi.c (gnuv2_value_rtti_type): Delete unused variable. * cp-support.c (mangled_name_to_comp): Delete unused variable. (method_name_from_physname): Delete unused variable. (cp_func_name): Delete unused variable. (cp_validate_operator): Delete unused variable. * cp-namespace.c (cp_scan_for_anonymous_namespaces): Delete unused variable. * trad-frame.c (trad_frame_get_prev_register): Delete unused variable. * tramp-frame.c (tramp_frame_cache): Delete unused variable. --- gdb/gnu-v2-abi.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'gdb/gnu-v2-abi.c') diff --git a/gdb/gnu-v2-abi.c b/gdb/gnu-v2-abi.c index 8931be2..3f25e73 100644 --- a/gdb/gnu-v2-abi.c +++ b/gdb/gnu-v2-abi.c @@ -185,13 +185,8 @@ gnuv2_value_rtti_type (struct value *v, int *full, int *top, int *using_enc) { struct type *known_type; struct type *rtti_type; - CORE_ADDR coreptr; - struct value *vp; - long top_offset = 0; - char rtti_type_name[256]; CORE_ADDR vtbl; struct minimal_symbol *minsym; - struct symbol *sym; char *demangled_name, *p; struct type *btype; struct type *known_type_vptr_basetype; -- cgit v1.1