Commit 7e8338cf authored by Tres Seaver's avatar Tres Seaver

Fix compiler warning->error under Python 3.4.

parent 321e5a44
......@@ -297,6 +297,8 @@ MOD_INIT(_zope_container_contained)
{
PyObject *m;
MOD_DEF(m, "_zope_container_contained", module___doc__, module_functions);
str_p_deactivate = MAKE_PYSTRING("_p_deactivate");
if (str_p_deactivate == NULL)
return MOD_ERROR_VAL;
......@@ -304,8 +306,6 @@ MOD_INIT(_zope_container_contained)
/* Try to fake out compiler nag function */
if (0) init_zope_proxy_proxy();
MOD_DEF(m, "_zope_container_contained", module___doc__, module_functions);
if (m == NULL)
return MOD_ERROR_VAL;
......
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