aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-08 09:28:13 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-08 09:28:13 +0000
commita3957dd58406620c6b4541bafb412d68723979c8 (patch)
treeca10840b44ba0a4f8b92f66873e86913aac48f85 /nptl/pthread_join.c
parentUpdate. (diff)
downloadglibc-a3957dd58406620c6b4541bafb412d68723979c8.tar.gz
glibc-a3957dd58406620c6b4541bafb412d68723979c8.tar.bz2
glibc-a3957dd58406620c6b4541bafb412d68723979c8.zip
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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/nptl/pthread_join.c b/nptl/pthread_join.c
index a223a7d4a3..4edbced2c1 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. */