Commit 4a7cf6a7 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Assert against use of unitialized variable

parent 8d40ad0a
......@@ -34,6 +34,7 @@
#include <QString>
#include <QFileDialog>
#include <QToolButton>
#include <assert.h>
SoutDialog::SoutDialog( QWidget *parent, intf_thread_t *_p_intf, const QString& inputMRL )
: QVLCDialog( parent, _p_intf )
......@@ -182,6 +183,9 @@ void SoutDialog::addDest( )
index = ui.destTab->addTab( idb, "Icecast" );
CONNECT( idb, mrlUpdated(), this, updateMRL() );
}
break;
default:
assert(0);
}
ui.destTab->setCurrentIndex( index );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment