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

Assert against use of unitialized variable

(cherry picked from commit 4a7cf6a7)
parent 5bdf0cea
......@@ -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