Skip to content

Conversation

@ZackerySpytz
Copy link
Contributor

@ZackerySpytz ZackerySpytz commented Mar 14, 2018

Introduced in 4484f9d:

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)) {

https://bugs.python.org/issue33021

@bedevere-bot
Copy link

@pitrou: Please replace # with GH- in the commit message next time. Thanks!

@pitrou
Copy link
Member

pitrou commented Mar 14, 2018

Thanks for posting this!

@ZackerySpytz ZackerySpytz deleted the mmapmodule_warning branch March 14, 2018 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants