]> git.sesse.net Git - vlc/blobdiff - test/src/misc/variables.c
LibVLC core: remove exceptions
[vlc] / test / src / misc / variables.c
index fe60bcb9c75b02a428888b74e464fb9e04edf567..e2524618da8642d59428dd4071a3043f321092d6 100644 (file)
@@ -333,7 +333,6 @@ static void test_change( libvlc_int_t *p_libvlc )
 
 static void test_creation_and_type( libvlc_int_t *p_libvlc )
 {
-    int i_type;
     vlc_value_t val;
     val.i_int = 4212;
 
@@ -447,9 +446,8 @@ int main( void )
     test_init();
 
     log( "Testing the core variables\n" );
-    libvlc_exception_init( &ex );
-    p_vlc = libvlc_new( test_defaults_nargs, test_defaults_args, &ex );
-    catch();
+    p_vlc = libvlc_new( test_defaults_nargs, test_defaults_args );
+    assert( p_vlc != NULL );
 
     test_variables( p_vlc );