summaryrefslogtreecommitdiff
path: root/gdb/frame-unwind.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2010-05-07 01:12:10 +0000
committerMichael Snyder <msnyder@specifix.com>2010-05-07 01:12:10 +0000
commit827188fab4f3a1c70f4e8fed2fc15416dd086cde (patch)
treee94bd95cda6a61f1d7446d8c7537d3b6e33812cc /gdb/frame-unwind.c
parentb59d2d704c224c515321407cebd7bb34403062ac (diff)
downloadgdb-827188fab4f3a1c70f4e8fed2fc15416dd086cde.tar.gz
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.
Diffstat (limited to 'gdb/frame-unwind.c')
-rw-r--r--gdb/frame-unwind.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/frame-unwind.c b/gdb/frame-unwind.c
index 6f1de9c7bb6..aaf950a1fde 100644
--- a/gdb/frame-unwind.c
+++ b/gdb/frame-unwind.c
@@ -90,11 +90,10 @@ frame_unwind_append_unwinder (struct gdbarch *gdbarch,
const struct frame_unwind *
frame_unwind_find_by_frame (struct frame_info *this_frame, void **this_cache)
{
- int i;
struct gdbarch *gdbarch = get_frame_arch (this_frame);
struct frame_unwind_table *table = gdbarch_data (gdbarch, frame_unwind_data);
struct frame_unwind_table_entry *entry;
- struct cleanup *old_cleanup;
+
for (entry = table->list; entry != NULL; entry = entry->next)
{
struct cleanup *old_cleanup;