mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
Issue #3080: Remove unused argument of _PyImport_GetDynLoadFunc()
The first argument, fqname, was not used.
This commit is contained in:
parent
9b99b448f7
commit
42040fb665
8 changed files with 10 additions and 11 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue