2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-24 06:02:14 +00:00

warning suppression for GCC

[SVN r25446]
This commit is contained in:
Dave Abrahams
2004-09-28 11:57:06 +00:00
parent 8e396f8e91
commit 937a851baa

View File

@@ -98,7 +98,10 @@ function::function(
function_type.ob_type = &PyType_Type;
::PyType_Ready(&function_type);
}
PyObject_INIT(p, &function_type);
(void)( // warning suppression for GCC
PyObject_INIT(p, &function_type)
);
}
function::~function()