diff options
author | Robin Gareus <robin@gareus.org> | 2016-05-27 17:55:26 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-05-27 18:28:26 +0200 |
commit | 4aea1285c96b1dee58fc541a57325b5c0bc99390 (patch) | |
tree | 96bee9b49a6420f51f2df250a94e6be8b603fe30 /libs/ardour/session_midi.cc | |
parent | 46709de8ab78c0ccd5086986c3f1f9737a3f81a4 (diff) |
fix some false-positive compiler warnings
Diffstat (limited to 'libs/ardour/session_midi.cc')
-rw-r--r-- | libs/ardour/session_midi.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/session_midi.cc b/libs/ardour/session_midi.cc index 8c1c8b15ff..c2010fd592 100644 --- a/libs/ardour/session_midi.cc +++ b/libs/ardour/session_midi.cc @@ -389,7 +389,7 @@ Session::send_full_time_code (framepos_t const t, MIDI::pframes_t nframes) outbound_mtc_timecode_frame = mtc_tc; transmitting_timecode_time = timecode; - LatencyRange mtc_out_latency; // TODO cache this, update on engine().GraphReordered() + LatencyRange mtc_out_latency = {0, 0}; // TODO cache this, update on engine().GraphReordered() _midi_ports->mtc_output_port ()->get_connected_latency_range (ltc_out_latency, true); frameoffset_t mtc_offset = worst_playback_latency() - mtc_out_latency.max; |