]> git.sesse.net Git - vlc/blobdiff - extras/analyser/zsh.cpp
Contribs: Update libxml to 2.7.7
[vlc] / extras / analyser / zsh.cpp
index 2b097de7afaa81bb23bf3f5b56de4405424becc1..318822ac15eb9e91a87c311cbf21da64480e35f0 100644 (file)
@@ -56,19 +56,14 @@ int main( int i_argc, const char **ppsz_argv )
     mumap mods;
     mcmap mods2;
     /* Create a libvlc structure */
-
-    libvlc_exception_t ex;
-    libvlc_exception_init(&ex);
-
     const char *argv[i_argc + 1];
     argv[0] = "vlc";
     for( int i = 0; i < i_argc; i++ )
         argv[i+1] = ppsz_argv[i];
-    libvlc_instance_t *p_libvlc_instance = libvlc_new(i_argc+1, argv, &ex);
+    libvlc_instance_t *p_libvlc_instance = libvlc_new(i_argc+1, argv);
 
-    if( !p_libvlc_instance || libvlc_exception_raised(&ex) )
+    if( !p_libvlc_instance )
     {
-        libvlc_exception_clear(&ex);
         return 1;
     }
 
@@ -91,7 +86,6 @@ int main( int i_argc, const char **ppsz_argv )
     printf( "  \"(-H)--longhelp[print detailed help]\"\\\n" );
     printf( "  \"(--list)-l[print a list of available modules]\"\\\n" );
     printf( "  \"(-l)--list[print a list of available modules]\"\\\n" );
-    printf( "  \"--save-config[save the current command line options in the config file]\"\\\n" );
     printf( "  \"--reset-config[reset the current config to the default values]\"\\\n" );
     printf( "  \"--config[use alternate config file]\"\\\n" );
     printf( "  \"--reset-plugins-cache[resets the current plugins cache]\"\\\n" );