[vlc-commits] Don't load/save module_config_t.b_removed
Rémi Denis-Courmont
git at videolan.org
Thu Jun 30 16:42:40 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jun 30 17:38:10 2011 +0300| [358ba6127f384247b709fb0c000cdb9bb5802e6b] | committer: Rémi Denis-Courmont
Don't load/save module_config_t.b_removed
The whole module_config_t is loaded/saved anyway, which is sufficient
for immediate values.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=358ba6127f384247b709fb0c000cdb9bb5802e6b
---
src/modules/cache.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/modules/cache.c b/src/modules/cache.c
index a8fa0b7..f481023 100644
--- a/src/modules/cache.c
+++ b/src/modules/cache.c
@@ -340,7 +340,6 @@ static int CacheLoadConfig( module_t *p_module, FILE *file )
LOAD_STRING( p_module->p_config[i].psz_text );
LOAD_STRING( p_module->p_config[i].psz_longtext );
LOAD_STRING( p_module->p_config[i].psz_oldname );
- LOAD_IMMEDIATE( p_module->p_config[i].b_removed );
if (IsConfigStringType (p_module->p_config[i].i_type))
{
@@ -600,7 +599,6 @@ static int CacheSaveConfig (FILE *file, const module_t *p_module)
SAVE_STRING( p_module->p_config[i].psz_text );
SAVE_STRING( p_module->p_config[i].psz_longtext );
SAVE_STRING( p_module->p_config[i].psz_oldname );
- SAVE_IMMEDIATE( p_module->p_config[i].b_removed );
if (IsConfigStringType (p_module->p_config[i].i_type))
SAVE_STRING( p_module->p_config[i].orig.psz );
More information about the vlc-commits
mailing list