|
1322 | 1322 | <!-- special handling for context handlers -->
|
1323 | 1323 | <inject-code class="pywrap-operators">PythonQt::Type_EnterExit</inject-code>
|
1324 | 1324 | <inject-code class="pywrap-h">
|
1325 |
| - void __enter__(QMutexLocker* self) {} |
1326 |
| - void __exit__(QMutexLocker* self, PyObject* type, PyObject* value, PyObject* traceback) { self->unlock(); } |
| 1325 | + void __enter__(QMutexLocker* /*self*/) {} |
| 1326 | + void __exit__(QMutexLocker* self, PyObject* /*type*/, PyObject* /*value*/, PyObject* /*traceback*/) { self->unlock(); } |
1327 | 1327 | </inject-code>
|
1328 | 1328 | </value-type>
|
1329 | 1329 | <value-type name="QReadLocker">
|
1330 | 1330 | <!-- special handling for context handlers -->
|
1331 | 1331 | <inject-code class="pywrap-operators">PythonQt::Type_EnterExit</inject-code>
|
1332 | 1332 | <inject-code class="pywrap-h">
|
1333 |
| - void __enter__(QReadLocker* self) {} |
1334 |
| - void __exit__(QReadLocker* self, PyObject* type, PyObject* value, PyObject* traceback) { self->unlock(); } |
| 1333 | + void __enter__(QReadLocker* /*self*/) {} |
| 1334 | + void __exit__(QReadLocker* self, PyObject* /*type*/, PyObject* /*value*/, PyObject* /*traceback*/) { self->unlock(); } |
1335 | 1335 | </inject-code>
|
1336 | 1336 | </value-type>
|
1337 | 1337 | <value-type name="QWriteLocker">
|
1338 | 1338 | <!-- special handling for context handlers -->
|
1339 | 1339 | <inject-code class="pywrap-operators">PythonQt::Type_EnterExit</inject-code>
|
1340 | 1340 | <inject-code class="pywrap-h">
|
1341 |
| - void __enter__(QWriteLocker* self) {} |
1342 |
| - void __exit__(QWriteLocker* self, PyObject* type, PyObject* value, PyObject* traceback) { self->unlock(); } |
| 1341 | + void __enter__(QWriteLocker* /*self*/) {} |
| 1342 | + void __exit__(QWriteLocker* self, PyObject* /*type*/, PyObject* /*value*/, PyObject* /*traceback*/) { self->unlock(); } |
1343 | 1343 | </inject-code>
|
1344 | 1344 | </value-type>
|
1345 | 1345 | <object-type name="QSemaphore"/>
|
|
0 commit comments