From b47991f6985f37396bdea6611f464ea7701b012a Mon Sep 17 00:00:00 2001 From: rpj Date: Thu, 18 Feb 1999 01:12:37 +0000 Subject: Sat Feb 18 16:2s1703:30 1999 Ross Johnson * Makefile.in: Use libpthread32.a as the name of the DLL export library instead of pthread.lib. * condvar.c (pthread_cond_init): cv could have been used unitialised; initialise. * create.c (pthread_create): parms could have been used unitialised; initialise. Add "Makefile" for people who don't want to (or can't) run ./configure. --- condvar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'condvar.c') diff --git a/condvar.c b/condvar.c index 891705d..eb549b5 100644 --- a/condvar.c +++ b/condvar.c @@ -281,7 +281,7 @@ pthread_cond_init (pthread_cond_t * cond, const pthread_condattr_t * attr) */ { int result = EAGAIN; - pthread_cond_t cv; + pthread_cond_t cv = NULL; if ((attr != NULL && *attr != NULL) && ((*attr)->pshared == PTHREAD_PROCESS_SHARED)) -- cgit v1.2.3