Undo revision 23130 which was a merge with 2.5, a messy one because I did something...
[blender.git] / source / gameengine / Ketsji / KX_PythonInitTypes.cpp
index 61e563791c37ea748486f7133ac28952d503d0f8..5260c0bb01a49f61750170455a1273f4d6102a93 100644 (file)
@@ -123,6 +123,9 @@ static void PyType_Ready_ADD(PyObject *dict, PyTypeObject *tp, PyAttributeDef *a
                        memset(attr_getset, 0, sizeof(PyGetSetDef));
                }
        } else {
+       
+               PyObject *item;
+
                PyType_Ready(tp);
                PyDict_SetItemString(dict, tp->tp_name, reinterpret_cast<PyObject *>(tp));
        }