mirror of https://github.com/python/cpython.git
gh-133590: ensure that `TableEntry.linenumber_borrow` is initialized (#133681)
This commit is contained in:
parent
f91127ae1a
commit
c838e21fda
|
@ -1,4 +1,3 @@
|
|||
|
||||
#include "Python.h"
|
||||
|
||||
#include "pycore_object.h"
|
||||
|
@ -34,6 +33,7 @@ make_table_entry(PyObject *obj, const char *filename, int linenumber)
|
|||
result->filename = filename;
|
||||
result->linenumber = linenumber;
|
||||
result->filename_borrow = NULL;
|
||||
result->linenumber_borrow = 0;
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue