We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1328375 commit a0da131Copy full SHA for a0da131
Include/object.h
@@ -440,6 +440,7 @@ static inline void _Py_NewReference(PyObject *op)
440
441
static inline void _Py_ForgetReference(PyObject *op)
442
{
443
+ (void)op; /* may be unused, shut up -Wunused-parameter */
444
_Py_INC_TPFREES(op);
445
}
446
#endif /* !Py_TRACE_REFS */
@@ -458,6 +459,8 @@ static inline void _Py_INCREF(PyObject *op)
458
459
static inline void _Py_DECREF(const char *filename, int lineno,
460
PyObject *op)
461
462
+ (void)filename; /* may be unused, shut up -Wunused-parameter */
463
+ (void)lineno; /* may be unused, shut up -Wunused-parameter */
464
_Py_DEC_REFTOTAL;
465
if (--op->ob_refcnt != 0) {
466
#ifdef Py_REF_DEBUG
0 commit comments