[vlc-devel] commit: This case can't happen so assert. ( Rémi Duraffort )

git version control git at videolan.org
Fri Oct 10 23:37:12 CEST 2008


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Fri Oct 10 23:29:30 2008 +0200| [bcd40e9ac2e3fd08023eab20961a70cb8db30a72] | committer: Rémi Duraffort 

This case can't happen so assert.

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

 modules/control/rc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/control/rc.c b/modules/control/rc.c
index 5beeb01..a43fbb9 100644
--- a/modules/control/rc.c
+++ b/modules/control/rc.c
@@ -1713,7 +1713,7 @@ static int VideoConfig( vlc_object_t *p_this, char const *psz_cmd,
     }
     else
         /* This case can't happend */
-        return VLC_EGENERIC;
+        assert( 0 );
 
     if( newval.psz_string && *newval.psz_string )
     {




More information about the vlc-devel mailing list