[vlc-commits] modules: remove unused return value
Rémi Denis-Courmont
git at videolan.org
Sun Mar 11 01:09:42 CET 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Mar 10 22:19:29 2018 +0200| [c63628e169c4f6fc1118d69da62232b9d81c5022] | committer: Rémi Denis-Courmont
modules: remove unused return value
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c63628e169c4f6fc1118d69da62232b9d81c5022
---
src/modules/bank.c | 4 +---
src/modules/modules.h | 2 +-
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/modules/bank.c b/src/modules/bank.c
index 3adaae8bd6..c9eb2d8b27 100644
--- a/src/modules/bank.c
+++ b/src/modules/bank.c
@@ -657,9 +657,8 @@ void module_EndBank (bool b_plugins)
* Fills the module bank structure with the plugin modules.
*
* \param p_this vlc object structure
- * \return total number of modules in bank after loading all plug-ins
*/
-size_t module_LoadPlugins (vlc_object_t *obj)
+void module_LoadPlugins(vlc_object_t *obj)
{
/*vlc_assert_locked (&modules.lock); not for static mutexes :( */
@@ -681,7 +680,6 @@ size_t module_LoadPlugins (vlc_object_t *obj)
module_t **list = module_list_get (&count);
module_list_free (list);
msg_Dbg (obj, "plug-ins loaded: %zu modules", count);
- return count;
}
/**
diff --git a/src/modules/modules.h b/src/modules/modules.h
index 505629dfbd..8f7ae97e97 100644
--- a/src/modules/modules.h
+++ b/src/modules/modules.h
@@ -109,7 +109,7 @@ vlc_plugin_t *vlc_plugin_describe(vlc_plugin_cb);
int vlc_plugin_resolve(vlc_plugin_t *, vlc_plugin_cb);
void module_InitBank (void);
-size_t module_LoadPlugins( vlc_object_t * );
+void module_LoadPlugins(vlc_object_t *);
#define module_LoadPlugins(a) module_LoadPlugins(VLC_OBJECT(a))
void module_EndBank (bool);
int module_Map(vlc_object_t *, vlc_plugin_t *);
More information about the vlc-commits
mailing list