summaryrefslogtreecommitdiff
path: root/condvar.c
diff options
context:
space:
mode:
authorrpj <rpj>1999-02-18 01:12:37 +0000
committerrpj <rpj>1999-02-18 01:12:37 +0000
commitb47991f6985f37396bdea6611f464ea7701b012a (patch)
tree329626b177fe29c3529149ab86bfd2d941dc8a42 /condvar.c
parent4283bb6d921d8ab782cd37ebafe36723a1e0b124 (diff)
Sat Feb 18 16:2s1703:30 1999 Ross Johnson <rpj@ixobrychus.canberra.edu.au>
* 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.
Diffstat (limited to 'condvar.c')
-rw-r--r--condvar.c2
1 files changed, 1 insertions, 1 deletions
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))