]> git.sesse.net Git - vlc/blobdiff - test/libvlc/core.c
LibVLC core: remove exceptions
[vlc] / test / libvlc / core.c
index e9d773c1520d1be43281f701f874da44e739467d..fe274a7cb354b78c13f14bd1b808d76ad76ec9da 100644 (file)
 static void test_core (const char ** argv, int argc)
 {
     libvlc_instance_t *vlc;
-    int id;
 
     log ("Testing core\n");
 
     libvlc_exception_init (&ex);
-    vlc = libvlc_new (argc, argv, &ex);
-    catch ();
+    vlc = libvlc_new (argc, argv);
+    assert (vlc != NULL);
 
     libvlc_retain (vlc);
     libvlc_release (vlc);