Skip to content

Commit 42ab6b6

Browse files
author
Ralf W. Grosse-Kunstleve
committed
unused variable removed (to avoid MIPSpro warning)
[SVN r19287]
1 parent f59a5bb commit 42ab6b6

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/object/class.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -254,10 +254,6 @@ void instance_holder::install(PyObject* self) throw()
254254

255255
namespace objects
256256
{
257-
extern "C" {
258-
static int (*class_setattro_save)(PyObject *obj, PyObject *name, PyObject* value);
259-
}
260-
261257
// Get the metatype object for all extension classes.
262258
BOOST_PYTHON_DECL type_handle class_metatype()
263259
{
@@ -267,7 +263,6 @@ namespace objects
267263
class_metatype_object.tp_base = &PyType_Type;
268264
if (PyType_Ready(&class_metatype_object))
269265
return type_handle();
270-
class_setattro_save = class_metatype_object.tp_setattro;
271266
}
272267
return type_handle(borrowed(&class_metatype_object));
273268
}

0 commit comments

Comments
 (0)