1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00
* pt-fcntl.c (__fcntl): Initialize oldtype to avoid warning.

	* pthread_join.c: Likewise.
	* pthread_timedjoin.c: Likewise.
This commit is contained in:
Ulrich Drepper
2002-12-08 09:28:13 +00:00
parent bdb04f9220
commit a3957dd584
4 changed files with 7 additions and 5 deletions

View File

@ -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. */