summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-08-04 07:53:25 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-08-04 07:53:25 +0000
commit8e740b7044b1538b51b1a58f27d92091c1e84a63 (patch)
treedbfdc43d7a4e2f4620738c29fcae1860848bbbd0 /Src
parent22cbf1b2719c99c2f17a34859520dbead03e5799 (diff)
downloadzsh-8e740b7044b1538b51b1a58f27d92091c1e84a63.tar.gz
zsh-8e740b7044b1538b51b1a58f27d92091c1e84a63.tar.xz
zsh-8e740b7044b1538b51b1a58f27d92091c1e84a63.zip
remove (wrong) test for linked-in modules in require_module() (12525)
Diffstat (limited to 'Src')
-rw-r--r--Src/module.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/Src/module.c b/Src/module.c
index c9d643aa6..2d8f6ce6f 100644
--- a/Src/module.c
+++ b/Src/module.c
@@ -778,11 +778,6 @@ require_module(char *nam, char *module, int res, int test)
     Module m = NULL;
     LinkNode node;
 
-    /* First see if the module is linked in. */
-    for (node = firstnode(linkedmodules); node; incnode(node)) {
-	if (!strcmp((char *) getdata(node), nam))
-	    return 1;
-    }
     node = find_module(module);
     if (node && (m = ((Module) getdata(node)))->u.handle &&
 	!(m->flags & MOD_UNLOAD)) {