summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-12-19 11:35:58 +0100
committerGitHub <noreply@github.com>2017-12-19 11:35:58 +0100
commit5d8624647d0b8ccb22b17b9e819a8e0c3fb4fe4a (patch)
treeb83a730b4c1711f9d50bf0477f552a714160cf55 /Python/pythonrun.c
parent21be85f52030b828679ffb9c8cddb5ac48946a30 (diff)
downloadcpython-git-5d8624647d0b8ccb22b17b9e819a8e0c3fb4fe4a.tar.gz
bpo-32030: Fix compiler warnings (#4921)
Fix compiler warnings in Py_FinalizeEx(): only define variables if they are needed, add #ifdef. Other cleanup changes: * _PyWarnings_InitWithConfig() is no more needed: call _PyWarnings_Init() instead. * Inline pymain_init_main_interpreter() in its caller. This subfunction is no more justifed.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions