ensure read size is initialized

This commit is contained in:
Benjamin Peterson 2016-10-05 23:32:09 -07:00
parent 3776836f67
commit 8f1cdc65ee
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ static PyObject *
mmap_read_method(mmap_object *self,
PyObject *args)
{
Py_ssize_t num_bytes, remaining;
Py_ssize_t num_bytes = PY_SSIZE_T_MAX, remaining;
PyObject *result;
CHECK_VALID(NULL);