diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-12-08 09:28:13 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-12-08 09:28:13 +0000 |
commit | a3957dd58406620c6b4541bafb412d68723979c8 (patch) | |
tree | ca10840b44ba0a4f8b92f66873e86913aac48f85 /nptl/pthread_join.c | |
parent | bdb04f922004ff8433591f138e40c09722836c45 (diff) | |
download | glibc-a3957dd58406620c6b4541bafb412d68723979c8.zip glibc-a3957dd58406620c6b4541bafb412d68723979c8.tar.gz glibc-a3957dd58406620c6b4541bafb412d68723979c8.tar.bz2 |
Update.
* pt-fcntl.c (__fcntl): Initialize oldtype to avoid warning.
* pthread_join.c: Likewise.
* pthread_timedjoin.c: Likewise.
Diffstat (limited to 'nptl/pthread_join.c')
-rw-r--r-- | nptl/pthread_join.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nptl/pthread_join.c b/nptl/pthread_join.c index a223a7d..4edbced 100644 --- a/nptl/pthread_join.c +++ b/nptl/pthread_join.c @@ -73,8 +73,7 @@ pthread_join (threadid, thread_return) pthread_cleanup_push (cleanup, &pd->joinid); /* Switch to asynchronous cancellation. */ - int oldtype; - CANCEL_ASYNC (oldtype); + int oldtype = CANCEL_ASYNC (); /* Wait for the child. */ |