Skip to content

Commit 257f043

Browse files
author
Uno
committed
fix var
1 parent 963ca6b commit 257f043

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_json.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ py_scanstring_impl(PyObject *module, PyObject *pystr, Py_ssize_t end,
667667
/*[clinic end generated code: output=961740cfae07cdb3 input=9d46d7df7ac749b0]*/
668668
{
669669
PyObject *rval;
670-
Py_ssize_t next_end;
670+
Py_ssize_t next_end = -1;
671671
if (PyUnicode_Check(pystr)) {
672672
rval = scanstring_unicode(pystr, end, strict, &next_end);
673673
}

0 commit comments

Comments
 (0)