aboutsummaryrefslogtreecommitdiffstats
path: root/ext.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext.c')
-rw-r--r--ext.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext.c b/ext.c
index 39e512fb..6a87632d 100644
--- a/ext.c
+++ b/ext.c
@@ -95,7 +95,6 @@ load_ext(const char *lib_name, const char *init_func, NODE *obj)
if (gpl_compat == NULL)
fatal(_("extension: library `%s': does not define `plugin_is_GPL_compatible' (%s)\n"),
lib_name, dlerror());
-
func = (NODE *(*)(NODE *, void *)) dlsym(dl, init_func);
if (func == NULL)
fatal(_("extension: library `%s': cannot call function `%s' (%s)\n"),