]> git.sesse.net Git - vlc/blobdiff - src/misc/variables.c
Oops ?
[vlc] / src / misc / variables.c
index c6b4c24fe22f9e805da91ddaae8da655d22270f1..9eac7f049c3c6935b7cba27a8d5f4d84ad32a3f6 100644 (file)
@@ -25,6 +25,7 @@
  * Preamble
  *****************************************************************************/
 #include <vlc/vlc.h>
+#include "variables.h"
 
 #ifdef HAVE_STDLIB_H
 #   include <stdlib.h>                                          /* realloc() */
@@ -275,7 +276,7 @@ int __var_Create( vlc_object_t *p_this, const char *psz_name, int i_type )
         vlc_value_t val;
 
         if( InheritValue( p_this, psz_name, &val, p_var->i_type )
-            == VLC_SUCCESS );
+            == VLC_SUCCESS )
         {
             /* Free data if needed */
             p_var->pf_free( &p_var->val );
@@ -619,7 +620,7 @@ int __var_Change( vlc_object_t *p_this, const char *psz_name,
                 vlc_value_t val;
 
                 if( InheritValue( p_this, psz_name, &val, p_var->i_type )
-                    == VLC_SUCCESS );
+                    == VLC_SUCCESS )
                 {
                     /* Duplicate already done */
 
@@ -936,7 +937,7 @@ void __var_OptionParse( vlc_object_t *p_obj, const char *psz_option )
     if( psz_value ) i_name_len = psz_value - psz_option;
     else i_name_len = strlen( psz_option );
 
-    /* It's too much of an hassle to remove the ':' when we parse
+    /* It's too much of a hassle to remove the ':' when we parse
      * the cmd line :) */
     if( i_name_len && *psz_option == ':' )
     {