summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-07-10 22:23:12 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-07-10 22:23:12 -0400
commit73f289b23ed0db47b7acb4ca75094cee4f22927f (patch)
treeb7acce889f77d25c5affb3f77bcc5be1d01371de /tapsets.cxx
parentd2d885a0f315de0bb2229e83ea282f0c036a83b6 (diff)
downloadsystemtap-steved-73f289b23ed0db47b7acb4ca75094cee4f22927f.tar.gz
systemtap-steved-73f289b23ed0db47b7acb4ca75094cee4f22927f.tar.xz
systemtap-steved-73f289b23ed0db47b7acb4ca75094cee4f22927f.zip
PR6703: gcc4.1 build compatibility
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index 7714715e..c15eb5ca 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -5044,8 +5044,7 @@ symbol_table::mark_dwarf_redundancies(dwflpp *dw)
// vector of Dwarf_Dies, one per function.
string module_prefix = string(mod_info->name) + ":";
- mod_cu_function_cache_t::iterator cu;
- for (cu = dw->cu_function_cache.begin();
+ for (mod_cu_function_cache_t::iterator cu = dw->cu_function_cache.begin();
cu != dw->cu_function_cache.end(); cu++)
{
string key = cu->first;