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:
Gregory P. Smith 2011-05-21 05:19:42 -07:00
parent 9ba876104e
commit 95c7c46077

View file

@ -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;