8000 warning · python/cpython@6f005f4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6f005f4

Browse files
authored
warning
1 parent 550e467 commit 6f005f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/_ctypes/_ctypes.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4995,8 +4995,8 @@ Simple_repr(CDataObject *self)
49954995
static int
49964996
Simple_traverse(CDataObject *self, visitproc visit, void *arg)
49974997
{
4998-
PyTypeObject *base = Py_TYPE(self)->tp_base;
4999-
if (0) { // Fixme
4998+
if (0) {
4999+
// FIXME: avoid a crash
50005000
Py_VISIT(self);
50015001
}
50025002
return 0;

0 commit comments

Comments
 (0)
0