[vlc-commits] Qt: do not use uninitialized value

Ludovic Fauvet git at videolan.org
Tue Nov 25 18:16:39 CET 2014


vlc | branch: master | Ludovic Fauvet <etix at videolan.org> | Tue Nov 25 18:11:47 2014 +0100| [bca2a9e84a2f5032f43e4f1e364f26a40b481906] | committer: Ludovic Fauvet

Qt: do not use uninitialized value

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bca2a9e84a2f5032f43e4f1e364f26a40b481906
---

 modules/gui/qt4/dialogs/sout.cpp |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/gui/qt4/dialogs/sout.cpp b/modules/gui/qt4/dialogs/sout.cpp
index b647bde..dfd514f 100644
--- a/modules/gui/qt4/dialogs/sout.cpp
+++ b/modules/gui/qt4/dialogs/sout.cpp
@@ -147,6 +147,7 @@ void SoutDialog::addDest( )
             break;
         default:
             assert(0);
+            return;
     }
 
     int index = ui.destTab->addTab( db, caption );



More information about the vlc-commits mailing list