summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-11-21 00:24:04 +0100
committerCarl Hetherington <cth@carlh.net>2022-11-21 00:24:04 +0100
commitef25237193100de106eccdb8f40524fa670bda76 (patch)
treee4f31a4a9bfc9b72be919924fd503a3ce7f3b012
parent9c4cd85f66818eb100e1be40f7eeb7d3e60cc482 (diff)
Remove unused line.
-rw-r--r--src/wx/timeline.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wx/timeline.cc b/src/wx/timeline.cc
index a9372b6bb..80f4133c0 100644
--- a/src/wx/timeline.cc
+++ b/src/wx/timeline.cc
@@ -476,7 +476,6 @@ Timeline::event_to_view (wxMouseEvent& ev)
Position<int> const p (ev.GetX() + vsx * _x_scroll_rate, ev.GetY() + vsy * _y_scroll_rate);
while (i != _views.rend() && !(*i)->bbox().contains (p)) {
- auto cv = dynamic_pointer_cast<TimelineContentView>(*i);
++i;
}