mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +00:00
Make new gcc -Wall happy
This commit is contained in:
parent
1109fbca76
commit
730806d3d9
11 changed files with 45 additions and 23 deletions
|
|
@ -175,11 +175,12 @@ long get_thread_ident _P0()
|
|||
static void do_exit_thread _P1(no_cleanup, int no_cleanup)
|
||||
{
|
||||
dprintf(("exit_thread called\n"));
|
||||
if (!initialized)
|
||||
if (!initialized) {
|
||||
if (no_cleanup)
|
||||
_exit(0);
|
||||
else
|
||||
exit(0);
|
||||
}
|
||||
}
|
||||
|
||||
void exit_thread _P0()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue