mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-10 23:46:20 +01:00
Fix Conditional jump or move depends on uninitialised value(s)
(valgrind trace, line-numbers from mixbus+6.0-190-g0ec6bc35a) This may happen initially for unconnected graph nodes, e.g. Foldback Busses from ARDOUR::Session::post_engine_init(). ==29797== Conditional jump or move depends on uninitialised value(s) ==29797== at 0x6167D3F: trace_terminal(boost::shared_ptr<ARDOUR::Route>, boost::shared_ptr<ARDOUR::Route>, bool) (session.cc:2174) ==29797== by 0x6167D99: trace_terminal(boost::shared_ptr<ARDOUR::Route>, boost::shared_ptr<ARDOUR::Route>, bool) (session.cc:2174) ==29797== by 0x6167D99: trace_terminal(boost::shared_ptr<ARDOUR::Route>, boost::shared_ptr<ARDOUR::Route>, bool) (session.cc:2174) ==29797== by 0x616890D: ARDOUR::Session::resort_routes_using(boost::shared_ptr<std::__cxx11::list<boost::shared_ptr<ARDOUR::Route>, std::allocator<boost::shared_ptr<ARDOUR::Route> > > >) (session.cc:2289)
This commit is contained in:
parent
98d7d04ae7
commit
69059d7b1b
1 changed files with 1 additions and 1 deletions
|
|
@ -2143,7 +2143,7 @@ Session::resort_routes_using (boost::shared_ptr<RouteList> r)
|
|||
|
||||
for (RouteList::iterator j = r->begin(); j != r->end(); ++j) {
|
||||
|
||||
bool via_sends_only;
|
||||
bool via_sends_only = false;
|
||||
|
||||
/* See if this *j feeds *i according to the current state of the JACK
|
||||
connections and internal sends.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue