diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-02-22 23:16:19 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-02-22 23:16:19 (GMT) |
commit | 42040fb66571cbd3929f3141d6841d2e4fe047a0 (patch) | |
tree | 7cddee76b9ed51aa8cccc49bac6019324f3a9a62 /Python/importdl.c | |
parent | 9b99b448f79fcb004e1c45b47fd6fe869635f445 (diff) | |
download | cpython-42040fb66571cbd3929f3141d6841d2e4fe047a0.zip cpython-42040fb66571cbd3929f3141d6841d2e4fe047a0.tar.gz cpython-42040fb66571cbd3929f3141d6841d2e4fe047a0.tar.bz2 |
Issue #3080: Remove unused argument of _PyImport_GetDynLoadFunc()
The first argument, fqname, was not used.
Diffstat (limited to 'Python/importdl.c')
-rw-r--r-- | Python/importdl.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Python/importdl.c b/Python/importdl.c index 9caed45..74ca8a7 100644 --- a/Python/importdl.c +++ b/Python/importdl.c @@ -12,8 +12,7 @@ #include "importdl.h" -extern dl_funcptr _PyImport_GetDynLoadFunc(const char *name, - const char *shortname, +extern dl_funcptr _PyImport_GetDynLoadFunc(const char *shortname, const char *pathname, FILE *fp); @@ -48,7 +47,7 @@ _PyImport_LoadDynamicModule(char *name, char *pathname, FILE *fp) shortname = lastdot+1; } - p0 = _PyImport_GetDynLoadFunc(name, shortname, pathname, fp); + p0 = _PyImport_GetDynLoadFunc(shortname, pathname, fp); p = (PyObject*(*)(void))p0; if (PyErr_Occurred()) goto error; |