From 273c35e3a9afed3ad17194be0f6192a0e93f5cce Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 1 Dec 2009 00:53:36 +0000 Subject: [PATCH] Fix potentially uninitialised variable. git-svn-id: svn://localhost/ardour2/branches/3.0@6231 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/internal_send.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/ardour/internal_send.cc b/libs/ardour/internal_send.cc index 5ba9954811..0fc498be7f 100644 --- a/libs/ardour/internal_send.cc +++ b/libs/ardour/internal_send.cc @@ -48,7 +48,8 @@ InternalSend::InternalSend (Session& s, boost::shared_ptr mm, boost: } InternalSend::InternalSend (Session& s, boost::shared_ptr mm, const XMLNode& node) - : Send (s, mm, node, Stateful::loading_state_version, Delivery::Aux /* will be reset in set_state() */) + : Send (s, mm, node, Stateful::loading_state_version, Delivery::Aux /* will be reset in set_state() */), + target (0) { /* Send constructor will set its state, so here we just need to set up our own */ set_our_state (node, Stateful::loading_state_version);