diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-09-23 10:37:37 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-09-26 11:01:43 +0200 |
| commit | 4ea2a8fe3625296ec2dd3037485df3a160058660 (patch) | |
| tree | b83a631c865104353672d4bdfdc31a1825f27f44 /sources/pyside6/libpyside/feature_select.cpp | |
| parent | b53dd90cb5aff1f47d7cedbb596af33b9cd9c82d (diff) | |
Fix warnings about unused parameters in code
Pick-to: 6.3 6.2
Change-Id: Ie120284b290d22f2786591955465e0334555e658
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside6/libpyside/feature_select.cpp')
| -rw-r--r-- | sources/pyside6/libpyside/feature_select.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/pyside6/libpyside/feature_select.cpp b/sources/pyside6/libpyside/feature_select.cpp index d6a6300d7..0964c88cc 100644 --- a/sources/pyside6/libpyside/feature_select.cpp +++ b/sources/pyside6/libpyside/feature_select.cpp @@ -464,7 +464,7 @@ static PyObject *methodWithNewName(PyTypeObject *type, return descr; } -static bool feature_01_addLowerNames(PyTypeObject *type, PyObject *prev_dict, int id) +static bool feature_01_addLowerNames(PyTypeObject *type, PyObject *prev_dict, int /* id */) { PyMethodDef *meth = type->tp_methods; PyObject *lower_dict = type->tp_dict; @@ -752,7 +752,7 @@ static bool patch_property_impl() // #define SIMILAR_FEATURE(xx) \ -static bool feature_##xx##_addDummyNames(PyTypeObject *type, PyObject *prev_dict, int id) \ +static bool feature_##xx##_addDummyNames(PyTypeObject *type, PyObject *prev_dict, int /* id */) \ { \ PyObject *dict = type->tp_dict; \ if (PyDict_Update(dict, prev_dict) < 0) \ |
