remove more cruft (dead assignments)
authorRobin Gareus <robin@gareus.org>
Fri, 7 Aug 2015 19:13:17 +0000 (21:13 +0200)
committerRobin Gareus <robin@gareus.org>
Fri, 7 Aug 2015 19:16:14 +0000 (21:16 +0200)
gtk2_ardour/editor_drag.cc
gtk2_ardour/engine_dialog.cc
libs/ardour/io.cc

index d17ee4b3a2c7297d1ed201b07ca38c7e6b1d71aa..91628284842225be23dca9ff322dea0046047157 100644 (file)
@@ -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;
index bdf00207e6ddcfa484cc2d79d1d525e2c985b301..ecf38a7f62378725cc544af6f9679f1f98ab86ee 100644 (file)
@@ -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));
index 6d1a181ee679d5e42baae44eb2fb9d86f70d0b0d..82d4bd03e5b45e3951e3de42b32b29106adc0240 100644 (file)
@@ -1158,7 +1158,6 @@ IO::parse_io_string (const string& str, vector<string>& ports)
                return 0;
        }
 
-       pos = 0;
        opos = 0;
 
        ports.clear ();