Skip to content

Commit f00dfdb

Browse files
authored
Merge pull request swig#1662 from jschueller/patch-1
Fix unused-parameter warning in pycontainer.swg
2 parents f971bbf + 96c6bf4 commit f00dfdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/python/pycontainer.swg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ namespace swig {
5252
struct container_owner {
5353
// By default, do not add the back-reference (for value types)
5454
// Specialization below will check the reference for pointer types.
55-
static bool back_reference(PyObject* child, PyObject* owner) {
55+
static bool back_reference(PyObject* /*child*/, PyObject* /*owner*/) {
5656
return false;
5757
}
5858
};

0 commit comments

Comments
 (0)