]> git.sesse.net Git - vlc/commitdiff
modules CacheFind(): remove unused parameter
authorRafaël Carré <funman@videolan.org>
Mon, 28 Jan 2008 16:28:29 +0000 (16:28 +0000)
committerRafaël Carré <funman@videolan.org>
Mon, 28 Jan 2008 16:28:29 +0000 (16:28 +0000)
src/modules/cache.c
src/modules/modules.c
src/modules/modules.h

index a37f476fd900827bc6907690005ed731c4e8a514..140aa4b9d1a540df809b931851e18b47c613ad84 100644 (file)
@@ -700,7 +700,7 @@ void CacheMerge( vlc_object_t *p_this, module_t *p_cache, module_t *p_module )
 /*****************************************************************************
  * CacheFind: finds the cache entry corresponding to a file
  *****************************************************************************/
-module_cache_t *CacheFind( vlc_object_t *p_this, const char *psz_file,
+module_cache_t *CacheFind( const char *psz_file,
                            int64_t i_time, int64_t i_size )
 {
     module_cache_t **pp_cache;
index 92a72a403dc0ae88797586b858c022059d3e5d25..cc9570faa3cb02b2e5b1f28db6f38d4ea0e6327b 100644 (file)
@@ -1084,7 +1084,7 @@ static int AllocatePluginFile( vlc_object_t * p_this, char * psz_file,
      * Check our plugins cache first then load plugin if needed
      */
     p_cache_entry =
-        CacheFind( p_this, psz_file, i_file_time, i_file_size );
+        CacheFind( psz_file, i_file_time, i_file_size );
 
     if( !p_cache_entry )
     {
index 92acaf42f464e7d24a656f1351382b2437649f08..8070d2b7deac70da7f5f2886b2ee3d30d6cabcf8 100644 (file)
@@ -163,6 +163,6 @@ void module_Unload (module_handle_t);
 void   CacheMerge (vlc_object_t *, module_t *, module_t *);
 void   CacheLoad  (vlc_object_t * );
 void   CacheSave  (vlc_object_t * );
-module_cache_t * CacheFind (vlc_object_t *, const char *, int64_t, int64_t);
+module_cache_t * CacheFind (const char *, int64_t, int64_t);
 
 #endif /* !__LIBVLC_MODULES_H */