X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=test%2Flibvlc%2Fcore.c;h=3871e5e8197e01e052674a9fe025eabb1a9f00b4;hb=4ba419b6cbd377c668d6a221154df358b610ebcc;hp=e9d773c1520d1be43281f701f874da44e739467d;hpb=ad77d955a5dc051976d94d6e08ee0f717ec3a938;p=vlc diff --git a/test/libvlc/core.c b/test/libvlc/core.c index e9d773c152..3871e5e819 100644 --- a/test/libvlc/core.c +++ b/test/libvlc/core.c @@ -26,13 +26,11 @@ 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);