Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sources/shiboken6/libshiboken/sbkenum.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/shiboken6/libshiboken/sbkenum.cpp b/sources/shiboken6/libshiboken/sbkenum.cpp
index 8095ab703..8f3548ca5 100644
--- a/sources/shiboken6/libshiboken/sbkenum.cpp
+++ b/sources/shiboken6/libshiboken/sbkenum.cpp
@@ -792,9 +792,9 @@ static PyTypeObject * newTypeWithNameOld(const char *name,
// PySIDE-1735: This function is in the API and should be removed in 6.4 .
// Python enums are created differently.
-PyTypeObject *newTypeWithName(const char *name,
- const char *cppName,
- PyTypeObject *numbers_fromFlag)
+PyTypeObject *newTypeWithName([[maybe_unused]] const char *name,
+ [[maybe_unused]] const char *cppName,
+ [[maybe_unused]] PyTypeObject *numbers_fromFlag)
{
// old enums are gone, remove completely?
PyErr_Format(PyExc_RuntimeError, "function `%s` can no longer be used because old "