diff options
author | David Robillard <d@drobilla.net> | 2014-08-31 17:45:20 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-08-31 17:54:16 -0400 |
commit | 885f1c71ec62dbfa2250d8821e698dfe01be93d7 (patch) | |
tree | e9d3c92e9ece7a550757fdf4d5bb88eb5143ecf2 /gtk2_ardour/editor_routes.cc | |
parent | c95c221493e03ee029223531d459c14b4d4d392d (diff) |
Remove unused variables (fix warnings).
Diffstat (limited to 'gtk2_ardour/editor_routes.cc')
-rw-r--r-- | gtk2_ardour/editor_routes.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_routes.cc b/gtk2_ardour/editor_routes.cc index 8372287509..1ca8cf2a65 100644 --- a/gtk2_ardour/editor_routes.cc +++ b/gtk2_ardour/editor_routes.cc @@ -735,13 +735,11 @@ EditorRoutes::route_removed (TimeAxisView *tv) TreeModel::Children rows = _model->children(); TreeModel::Children::iterator ri; - bool found = false; for (ri = rows.begin(); ri != rows.end(); ++ri) { if ((*ri)[_columns.tv] == tv) { PBD::Unwinder<bool> uw (_route_deletion_in_progress, true); _model->erase (ri); - found = true; break; } } |