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_timedjoin.c | |
parent | bdb04f922004ff8433591f138e40c09722836c45 (diff) | |
download | glibc-a3957dd58406620c6b4541bafb412d68723979c8.tar.gz |
Update.
* pt-fcntl.c (__fcntl): Initialize oldtype to avoid warning.
* pthread_join.c: Likewise.
* pthread_timedjoin.c: Likewise.
Diffstat (limited to 'nptl/pthread_timedjoin.c')
-rw-r--r-- | nptl/pthread_timedjoin.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nptl/pthread_timedjoin.c b/nptl/pthread_timedjoin.c index d3f4a282a6..7725c52229 100644 --- a/nptl/pthread_timedjoin.c +++ b/nptl/pthread_timedjoin.c @@ -75,8 +75,7 @@ pthread_timedjoin_np (threadid, thread_return, abstime) pthread_cleanup_push (cleanup, &pd->joinid); /* Switch to asynchronous cancellation. */ - int oldtype; - CANCEL_ASYNC (oldtype); + int oldtype = CANCEL_ASYNC (); /* Wait for the child. */ |