mirror of
https://github.com/python/cpython.git
synced 2025-11-03 11:23:31 +00:00
bpo-33021: Fix GCC 7 warning (-Wmaybe-uninitialized) in mmapmodule.c (#6117)
This commit is contained in:
parent
74f56878cd
commit
d6e1404661
1 changed files with 1 additions and 1 deletions
|
|
@ -1050,7 +1050,7 @@ static PyObject *
|
||||||
new_mmap_object(PyTypeObject *type, PyObject *args, PyObject *kwdict)
|
new_mmap_object(PyTypeObject *type, PyObject *args, PyObject *kwdict)
|
||||||
{
|
{
|
||||||
struct _Py_stat_struct status;
|
struct _Py_stat_struct status;
|
||||||
int fstat_result;
|
int fstat_result = -1;
|
||||||
mmap_object *m_obj;
|
mmap_object *m_obj;
|
||||||
Py_ssize_t map_size;
|
Py_ssize_t map_size;
|
||||||
off_t offset = 0;
|
off_t offset = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue