mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #18722: Remove uses of the "register" keyword in C code.
This commit is contained in:
parent
9eaa3e6732
commit
9ed5f27266
38 changed files with 288 additions and 286 deletions
|
@ -1834,10 +1834,10 @@ _Py_NewReference(PyObject *op)
|
|||
}
|
||||
|
||||
void
|
||||
_Py_ForgetReference(register PyObject *op)
|
||||
_Py_ForgetReference(PyObject *op)
|
||||
{
|
||||
#ifdef SLOW_UNREF_CHECK
|
||||
register PyObject *p;
|
||||
PyObject *p;
|
||||
#endif
|
||||
if (op->ob_refcnt < 0)
|
||||
Py_FatalError("UNREF negative refcnt");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue