[vlc-commits] Remove unused VLC_VAR_SETISCOMMAND

Rafaël Carré git at videolan.org
Wed Apr 16 14:46:41 CEST 2014


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed Apr 16 14:41:15 2014 +0200| [05729a009682b10c04eaaf9307eae0e37ea6678b] | committer: Rafaël Carré

Remove unused VLC_VAR_SETISCOMMAND

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=05729a009682b10c04eaaf9307eae0e37ea6678b
---

 include/vlc_variables.h |    1 -
 src/misc/variables.c    |    4 ----
 2 files changed, 5 deletions(-)

diff --git a/include/vlc_variables.h b/include/vlc_variables.h
index 241185d..420f0b4 100644
--- a/include/vlc_variables.h
+++ b/include/vlc_variables.h
@@ -124,7 +124,6 @@
 #define VLC_VAR_GETLIST             0x0025
 #define VLC_VAR_CHOICESCOUNT        0x0026
 
-#define VLC_VAR_SETISCOMMAND        0x0040
 /**@}*/
 
 /** \defgroup var_GetAndSet Variable actions
diff --git a/src/misc/variables.c b/src/misc/variables.c
index 09f2b97..a631863 100644
--- a/src/misc/variables.c
+++ b/src/misc/variables.c
@@ -584,10 +584,6 @@ int var_Change( vlc_object_t *p_this, const char *psz_name,
             p_val->psz_string = p_var->psz_text ? strdup( p_var->psz_text )
                                                 : NULL;
             break;
-        case VLC_VAR_SETISCOMMAND:
-            p_var->i_type |= VLC_VAR_ISCOMMAND;
-            break;
-
         default:
             break;
     }



More information about the vlc-commits mailing list