summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-08-07 21:13:17 +0200
committerRobin Gareus <robin@gareus.org>2015-08-07 21:16:14 +0200
commit7a3b6e6d0853dbce0ea09a8356d70b77e5226625 (patch)
tree198912db8d0d656e2279cc95fb0ff974982b3738
parent9e918563df30f52b0e918836fc212c9b91c165bd (diff)
remove more cruft (dead assignments)
-rw-r--r--gtk2_ardour/editor_drag.cc2
-rw-r--r--gtk2_ardour/engine_dialog.cc2
-rw-r--r--libs/ardour/io.cc1
3 files changed, 0 insertions, 5 deletions
diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc
index d17ee4b3a2..9162828484 100644
--- a/gtk2_ardour/editor_drag.cc
+++ b/gtk2_ardour/editor_drag.cc
@@ -4840,7 +4840,6 @@ SelectionDrag::motion (GdkEvent* event, bool first_move)
case SelectionStartTrim:
- start = _editor->selection->time[_editor->clicked_selection].start;
end = _editor->selection->time[_editor->clicked_selection].end;
if (pending_position > end) {
@@ -4853,7 +4852,6 @@ SelectionDrag::motion (GdkEvent* event, bool first_move)
case SelectionEndTrim:
start = _editor->selection->time[_editor->clicked_selection].start;
- end = _editor->selection->time[_editor->clicked_selection].end;
if (pending_position < start) {
end = start;
diff --git a/gtk2_ardour/engine_dialog.cc b/gtk2_ardour/engine_dialog.cc
index bdf00207e6..ecf38a7f62 100644
--- a/gtk2_ardour/engine_dialog.cc
+++ b/gtk2_ardour/engine_dialog.cc
@@ -176,8 +176,6 @@ EngineControl::EngineControl ()
lm_table.attach (*misc_align, 1, 3, row, row+1, FILL, (AttachOptions) 0);
++row;
- xopt = AttachOptions(0);
-
lm_measure_label.set_padding (10, 10);
lm_measure_button.add (lm_measure_label);
lm_measure_button.signal_clicked().connect (sigc::mem_fun (*this, &EngineControl::latency_button_clicked));
diff --git a/libs/ardour/io.cc b/libs/ardour/io.cc
index 6d1a181ee6..82d4bd03e5 100644
--- a/libs/ardour/io.cc
+++ b/libs/ardour/io.cc
@@ -1158,7 +1158,6 @@ IO::parse_io_string (const string& str, vector<string>& ports)
return 0;
}
- pos = 0;
opos = 0;
ports.clear ();