mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
2010-05-06 Michael Snyder <msnyder@vmware.com>
* 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.
This commit is contained in:
@@ -158,7 +158,6 @@ mangled_name_to_comp (const char *mangled_name, int options,
|
||||
{
|
||||
struct demangle_component *ret;
|
||||
char *demangled_name;
|
||||
int len;
|
||||
|
||||
/* If it looks like a v3 mangled name, then try to go directly
|
||||
to trees. */
|
||||
@@ -342,7 +341,6 @@ method_name_from_physname (const char *physname)
|
||||
void *storage = NULL;
|
||||
char *demangled_name = NULL, *ret;
|
||||
struct demangle_component *ret_comp;
|
||||
int done;
|
||||
|
||||
ret_comp = mangled_name_to_comp (physname, DMGL_ANSI, &storage,
|
||||
&demangled_name);
|
||||
@@ -373,7 +371,6 @@ cp_func_name (const char *full_name)
|
||||
{
|
||||
char *ret;
|
||||
struct demangle_component *ret_comp;
|
||||
int done;
|
||||
|
||||
ret_comp = cp_demangled_name_to_comp (full_name, NULL);
|
||||
if (!ret_comp)
|
||||
@@ -925,7 +922,6 @@ cp_validate_operator (const char *input)
|
||||
struct expression *expr;
|
||||
struct value *val;
|
||||
struct gdb_exception except;
|
||||
struct cleanup *old_chain;
|
||||
|
||||
p = input;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user