diff options
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/session.cc | 2 | ||||
-rw-r--r-- | libs/ardour/session_command.cc | 2 | ||||
-rw-r--r-- | libs/pbd/whitespace.cc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index eba090665a..0b668607dd 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -3397,7 +3397,7 @@ Session::remove_redirect (Redirect* redirect) nframes_t Session::available_capture_duration () { - float sample_bytes_on_disk; + float sample_bytes_on_disk = 4.0; // keep gcc happy switch (Config->get_native_file_data_format()) { case FormatFloat: diff --git a/libs/ardour/session_command.cc b/libs/ardour/session_command.cc index 14ec340f41..1ecf4fce8d 100644 --- a/libs/ardour/session_command.cc +++ b/libs/ardour/session_command.cc @@ -28,7 +28,7 @@ Session::memento_command_factory(XMLNode *n) { PBD::ID id; XMLNode *before = 0, *after = 0; - XMLNode *child; + XMLNode *child = 0; /* get id */ id = PBD::ID(n->property("obj_id")->value()); diff --git a/libs/pbd/whitespace.cc b/libs/pbd/whitespace.cc index a719fb169f..9568c1781c 100644 --- a/libs/pbd/whitespace.cc +++ b/libs/pbd/whitespace.cc @@ -9,7 +9,7 @@ strip_whitespace_edges (string& str) { string::size_type i; string::size_type len; - string::size_type s; + string::size_type s = 0; len = str.length(); |