X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fport.cc;h=7aadb9183f878817ebaa115fc39977a0c6970573;hb=4c1aa58846f0616257e5148817c6d71e60a2b62b;hp=1c79e0c4388cada25e5a51698ac685c588044469;hpb=8ab17e96312f1a61c014c50687e15430d5ae786b;p=ardour.git diff --git a/libs/ardour/port.cc b/libs/ardour/port.cc index 1c79e0c438..7aadb9183f 100644 --- a/libs/ardour/port.cc +++ b/libs/ardour/port.cc @@ -296,8 +296,8 @@ PortFacade::disconnect (Port& other) int PortFacade::disconnect_all () { - int reta; - int retb; + int reta = 0; + int retb = 0; if (_ext_port) { reta = _ext_port->disconnect_all ();