]> git.sesse.net Git - vlc/blobdiff - test/libvlc/core.c
qt4: attempt to work around a design flaw in the toolbar editor
[vlc] / test / libvlc / core.c
index e9d773c1520d1be43281f701f874da44e739467d..3871e5e8197e01e052674a9fe025eabb1a9f00b4 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);