[vlc-commits] Don't apply CONFIG_ITEM mask to variable types

Rémi Denis-Courmont git at videolan.org
Wed Jun 29 21:39:31 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jun 29 21:31:38 2011 +0300| [473c32a87dac340f2cbf836926eab93dcd3e302d] | committer: Rémi Denis-Courmont

Don't apply CONFIG_ITEM mask to variable types

Variable types and configuration item types are separate. Fortunately
they use the same bits so it worked fine.

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

 src/config/chain.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/config/chain.c b/src/config/chain.c
index 4ef60be..027e570 100644
--- a/src/config/chain.c
+++ b/src/config/chain.c
@@ -361,8 +361,6 @@ void config_ChainParse( vlc_object_t *p_this, const char *psz_prefix,
             continue;
         }
 
-        i_type &= CONFIG_ITEM;
-
         if( i_type != VLC_VAR_BOOL && cfg->psz_value == NULL )
         {
             msg_Warn( p_this, "missing value for option %s", cfg->psz_name );



More information about the vlc-commits mailing list