mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
pt import: Fix two warnings from valgrind
- Remove uninitialised unused variable - Remove jump condition on uninitialised variable
This commit is contained in:
parent
a3df0523b5
commit
cbd0ba90c6
2 changed files with 0 additions and 6 deletions
|
|
@ -76,8 +76,6 @@ using std::string;
|
|||
void
|
||||
Editor::external_pt_dialog ()
|
||||
{
|
||||
std::string ptpath;
|
||||
|
||||
if (_session == 0) {
|
||||
MessageDialog msg (_("You can't import a PT session until you have a session loaded."));
|
||||
msg.run ();
|
||||
|
|
|
|||
|
|
@ -46,10 +46,6 @@ PTImportSelector::PTImportSelector (PTFFormat& ptf) :
|
|||
{
|
||||
_ptf = &ptf;
|
||||
|
||||
if (!_session_rate) {
|
||||
Gtk::Dialog::response(RESPONSE_CANCEL);
|
||||
}
|
||||
|
||||
set_size_request (800, 450);
|
||||
ptimport_import_button.set_size_request (90, 35);
|
||||
ptimport_cancel_button.set_size_request (90, 35);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue