[vlc-commits] modules: remove some stray code

Rémi Denis-Courmont git at videolan.org
Thu Oct 27 20:42:42 CEST 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Oct 27 21:22:07 2016 +0300| [e60bb468f270decb283abc50ef041b6d0c8806fa] | committer: Rémi Denis-Courmont

modules: remove some stray code

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

 src/modules/bank.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/src/modules/bank.c b/src/modules/bank.c
index c8d913c..52b71a6 100644
--- a/src/modules/bank.c
+++ b/src/modules/bank.c
@@ -141,14 +141,6 @@ static vlc_plugin_t *module_InitDynamic(vlc_object_t *obj, const char *path,
         goto error;
     }
 
-    assert(plugin->module != NULL);
-
-    plugin->abspath = strdup(path);
-    if (unlikely(plugin->abspath == NULL))
-    {
-        vlc_plugin_destroy(plugin);
-        goto error;
-    }
     plugin->handle = handle;
     atomic_init(&plugin->loaded, true);
     return plugin;



More information about the vlc-commits mailing list