mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
avoid a compiler warning. the compiler doesn't know that the static
struct guarantees the loop will always be run once to initialize code.
This commit is contained in:
parent
9ba876104e
commit
95c7c46077
1 changed files with 1 additions and 1 deletions
|
@ -1195,7 +1195,7 @@ static PyObject *
|
|||
get_module_code(ZipImporter *self, PyObject *fullname,
|
||||
int *p_ispackage, PyObject **p_modpath)
|
||||
{
|
||||
PyObject *code, *toc_entry, *subname;
|
||||
PyObject *code = NULL, *toc_entry, *subname;
|
||||
PyObject *path, *fullpath;
|
||||
struct st_zip_searchorder *zso;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue