diff --git a/pyuno/source/module/pyuno_struct.cxx b/pyuno/source/module/pyuno_struct.cxx index 1a691f16d5f0..937345ac87b7 100644 --- a/pyuno/source/module/pyuno_struct.cxx +++ b/pyuno/source/module/pyuno_struct.cxx @@ -125,7 +125,6 @@ static PyObject* PyUNOStruct_getattr( PyObject* self, char* name ) { Runtime runtime; - me = reinterpret_cast(self); if (strcmp (name, "__dict__") == 0) { Py_INCREF (Py_TYPE(me)->tp_dict); @@ -185,9 +184,7 @@ static PyObject* PyUNOStruct_getattr( PyObject* self, char* name ) static int PyUNOStruct_setattr (PyObject* self, char* name, PyObject* value) { - PyUNO* me; - - me = reinterpret_cast(self); + PyUNO* me = reinterpret_cast(self); try { Runtime runtime;