Merge pull request #1662 from jschueller/patch-1

Fix unused-parameter warning in pycontainer.swg
This commit is contained in:
William S Fulton 2020-01-26 16:07:19 +00:00 • committed by GitHub
commit f00dfdb714
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,7 +52,7 @@ namespace swig {
struct container_owner {
// By default, do not add the back-reference (for value types)
// Specialization below will check the reference for pointer types.
static bool back_reference(PyObject* child, PyObject* owner) {
static bool back_reference(PyObject* /*child*/, PyObject* /*owner*/) {
return false;
}
};