summaryrefslogtreecommitdiffstats
path: root/Python/thread_pthread.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-04-10 22:27:42 (GMT)
committerGuido van Rossum <guido@python.org>1998-04-10 22:27:42 (GMT)
commit730806d3d9bd8c54466e4a864b2b1f94df4413d2 (patch)
tree95ef041ad6e66f6cfbee3b6f84de6542c2cd36a7 /Python/thread_pthread.h
parent1109fbca76d08bb2f11f2899580d2ab7dbe796fa (diff)
downloadcpython-730806d3d9bd8c54466e4a864b2b1f94df4413d2.zip
cpython-730806d3d9bd8c54466e4a864b2b1f94df4413d2.tar.gz
cpython-730806d3d9bd8c54466e4a864b2b1f94df4413d2.tar.bz2
Make new gcc -Wall happy
Diffstat (limited to 'Python/thread_pthread.h')
-rw-r--r--Python/thread_pthread.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/thread_pthread.h b/Python/thread_pthread.h
index 5b70fa4..2f57b36 100644
--- a/Python/thread_pthread.h
+++ b/Python/thread_pthread.h
@@ -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()