Kaydet (Commit) 95c7c460 authored tarafından Gregory P. Smith's avatar Gregory P. Smith

avoid a compiler warning. the compiler doesn't know that the static

struct guarantees the loop will always be run once to initialize code.
üst 9ba87610
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment