8000 Debug build fixes · python/cpython@90e0016 · GitHub
[go: up one dir, main page]

Skip to content

Commit 90e0016

Browse files
Debug build fixes
1 parent 520fbc3 commit 90e0016

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

Include/object.h

Lines changed: 0 additions & 1 deletion
959D
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,6 @@ static inline void Py_INCREF(PyObject *op)
628628
#endif
629629
_Py_INCREF_STAT_INC();
630630
#ifdef Py_REF_DEBUG
631-
_Py_RefTotal++;
632631
_Py_INC_REFTOTAL();
633632
#endif
634633
#endif

Objects/unicodeobject.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1538,7 +1538,6 @@ find_maxchar_surrogates(const wchar_t *begin, const wchar_t *end,
15381538
static void
15391539
unicode_dealloc(PyObject *unicode)
15401540
{
1541-
PyInterpreterState *interp = _PyInterpreterState_GET();
15421541
#ifdef Py_DEBUG
15431542
if (!unicode_is_finalizing() && unicode_is_singleton(unicode)) {
15441543
_Py_FatalRefcountError("deallocating an Unicode singleton");

0 commit comments

Comments
 (0)
0