[vlc-commits] Remove write-only module_bank_t.b_cache_dirty
    Rémi Denis-Courmont 
    git at videolan.org
       
    Thu May 12 19:38:36 CEST 2011
    
    
  
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu May 12 20:38:18 2011 +0300| [3546fd4932e13ccaf5ad320a7024e1d69d48683a] | committer: Rémi Denis-Courmont
Remove write-only module_bank_t.b_cache_dirty
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3546fd4932e13ccaf5ad320a7024e1d69d48683a
---
 src/modules/modules.c |    2 +-
 src/modules/modules.h |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/modules/modules.c b/src/modules/modules.c
index 89c83f6..acd8b86 100644
--- a/src/modules/modules.c
+++ b/src/modules/modules.c
@@ -104,7 +104,7 @@ void module_InitBank( vlc_object_t *p_this )
         p_bank->i_usage = 1;
         p_bank->i_cache = p_bank->i_loaded_cache = 0;
         p_bank->pp_cache = p_bank->pp_loaded_cache = NULL;
-        p_bank->b_cache = p_bank->b_cache_dirty = false;
+        p_bank->b_cache = false;
         p_bank->head = NULL;
 
         /* Everything worked, attach the object */
diff --git a/src/modules/modules.h b/src/modules/modules.h
index bd97989..5573a16 100644
--- a/src/modules/modules.h
+++ b/src/modules/modules.h
@@ -37,7 +37,6 @@ typedef struct module_bank_t
 
     /* Plugins cache */
     bool             b_cache;
-    bool             b_cache_dirty;
 
     int            i_cache;
     module_cache_t **pp_cache;
    
    
More information about the vlc-commits
mailing list