From a3957dd58406620c6b4541bafb412d68723979c8 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 8 Dec 2002 09:28:13 +0000 Subject: Update. * pt-fcntl.c (__fcntl): Initialize oldtype to avoid warning. * pthread_join.c: Likewise. * pthread_timedjoin.c: Likewise. --- nptl/pthread_join.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'nptl/pthread_join.c') 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. */ -- cgit v1.2.3