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 61e5637..5260c0b 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));
        }