summaryrefslogtreecommitdiff
path: root/Lib/python
diff options
context:
space:
mode:
authorJulien Schueller <schueller@phimeca.com>2019-11-06 17:00:47 +0100
committerJulien Schueller <schueller@phimeca.com>2020-01-17 11:09:57 +0100
commit96c6bf4cc2b7262c633f8218b9cb5814f3fc936d (patch)
tree7ca773b64d5d813af2acebea1376880c074336bd /Lib/python
parent7051753fdfb7d74bb1a8e419eb450bbbc6e79141 (diff)
downloadswig-96c6bf4cc2b7262c633f8218b9cb5814f3fc936d.tar.gz
Fix unused-parameter warning in pycontainer.swg
Diffstat (limited to 'Lib/python')
-rw-r--r--Lib/python/pycontainer.swg2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/python/pycontainer.swg b/Lib/python/pycontainer.swg
index a7cc605ce..2ddf4c375 100644
--- a/Lib/python/pycontainer.swg
+++ b/Lib/python/pycontainer.swg
@@ -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;
}
};