Remove some unused variables.

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3997 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Nick Mainsbridge 2008-10-22 17:58:44 +00:00
parent b01539f470
commit b4989d6703

View file

@ -1714,7 +1714,6 @@ Editor::temporal_zoom_region (bool both_axes)
nframes64_t end = 0;
RegionSelection rs;
set<TimeAxisView*> tracks;
double top_y_position = DBL_MAX;
get_regions_for_action (rs);
@ -1733,10 +1732,6 @@ Editor::temporal_zoom_region (bool both_axes)
}
tracks.insert (&((*i)->get_time_axis_view()));
if ((*i)->get_time_axis_view().y_position < top_y_position) {
top_y_position = (*i)->get_time_axis_view().y_position;
}
}
/* now comes an "interesting" hack ... make sure we leave a little space
@ -6038,8 +6033,6 @@ Editor::fit_tracks ()
for (TrackViewList::iterator t = track_views.begin(); t != track_views.end(); ++t) {
bool pws;
TrackViewList::iterator next;
next = t;