summaryrefslogtreecommitdiffstats
path: root/Objects/typeobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/typeobject.c')
-rw-r--r--Objects/typeobject.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index 6304ee1..ffd66fd 100644
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -116,11 +116,13 @@ type_from_ref(PyObject *ref)
/* helpers for for static builtin types */
+#ifndef NDEBUG
static inline int
static_builtin_index_is_set(PyTypeObject *self)
{
return self->tp_subclasses != NULL;
}
+#endif
static inline size_t
static_builtin_index_get(PyTypeObject *self)