This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ZackerySpytz
Recipients ZackerySpytz, brett.cannon, eric.snow, josh.r, ncoghlan, nirs, pitrou, pmpp, serhiy.storchaka, twouters, vstinner, yselivanov
Date 2018-03-14.19:09:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1521054587.15.0.467229070634.issue33021@psf.upfronthosting.co.za>
In-reply-to
Content
Commit 4484f9dca9149da135bbae035f10a50d20d1cbbb causes GCC 7.2.0 to emit a warning.

cpython/Modules/mmapmodule.c: In function ‘new_mmap_object’:
cpython/Modules/mmapmodule.c:1126:18: warning: ‘fstat_result’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     if (fd != -1 && fstat_result == 0 && S_ISREG(status.st_mode)) {

A PR is attached.
History
Date User Action Args
2018-03-14 19:09:47ZackerySpytzsetrecipients: + ZackerySpytz, twouters, brett.cannon, ncoghlan, nirs, pitrou, vstinner, pmpp, eric.snow, serhiy.storchaka, yselivanov, josh.r
2018-03-14 19:09:47ZackerySpytzsetmessageid: <1521054587.15.0.467229070634.issue33021@psf.upfronthosting.co.za>
2018-03-14 19:09:47ZackerySpytzlinkissue33021 messages
2018-03-14 19:09:47ZackerySpytzcreate