]> git.sesse.net Git - vlc/blobdiff - src/control/core.c
input: Fix warnings.
[vlc] / src / control / core.c
index 50664d1738546d494f65a9e20a18b22d11d10e26..9db56144d44321dda1455f95b17e01f0dc2cebf7 100644 (file)
@@ -84,13 +84,13 @@ void libvlc_exception_raise( libvlc_exception_t *p_exception,
 
     /* Does caller care about exceptions ? */
     if( p_exception == NULL ) {
-        /* Print something, so lazy third-parties can easily
-         * notice that something may have gone unoticedly wrong */
+        /* Print something, so that lazy third-parties can easily
+         * notice that something may have gone unnoticedly wrong */
         libvlc_exception_not_handled( psz );
         return;
     }
 
-    /* Make sure that there is no unoticed previous exception */
+    /* Make sure that there is no unnoticed previous exception */
     if( p_exception->b_raised )
     {
         libvlc_exception_not_handled( p_exception->psz_message );
@@ -164,7 +164,7 @@ void libvlc_release( libvlc_instance_t *p_instance )
         vlc_mutex_destroy( lock );
         vlc_mutex_destroy( &p_instance->event_callback_lock );
         libvlc_InternalCleanup( p_instance->p_libvlc_int );
-        libvlc_InternalDestroy( p_instance->p_libvlc_int, false );
+        libvlc_InternalDestroy( p_instance->p_libvlc_int );
         free( p_instance );
     }
 }